This commit is contained in:
suyl
2021-10-18 11:27:03 +08:00
parent b65ab472ea
commit 2a8015f740
2 changed files with 33 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ func Init() {
ScheduleTimerFuncByInterval(func() {
orderman.SaveJdsOrders(jxcontext.AdminCtx, time.Now().Add(-30*time.Minute), time.Now())
orderman.UpdateJdsOrdersStatus(jxcontext.AdminCtx, time.Now().AddDate(0, 0, -1), time.Now())
}, 5*time.Second, 5*time.Minute)
ScheduleTimerFuncByInterval(func() {