|
@@ -46,9 +46,9 @@ func GetCycle(eg *xorm.Engine) map[string]string { |
|
|
next = 0 |
|
|
next = 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
lastDate := GetDate(now, zhios_order_relate_utils.IntToStr(last), "last") |
|
|
|
|
|
|
|
|
lastDate := GetDate(now, ex[last], "last") |
|
|
res["last"] = time.Unix(lastDate, 0).Format("20060102") |
|
|
res["last"] = time.Unix(lastDate, 0).Format("20060102") |
|
|
nowDate := GetDate(now, zhios_order_relate_utils.IntToStr(next), "now") |
|
|
|
|
|
|
|
|
nowDate := GetDate(now, ex[next], "now") |
|
|
res["now"] = time.Unix(nowDate, 0).Format("20060102") |
|
|
res["now"] = time.Unix(nowDate, 0).Format("20060102") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|