获取京东订单间隔改一下

This commit is contained in:
苏尹岚
2020-06-05 08:35:55 +08:00
parent f510dd1c7c
commit d865b43e96

View File

@@ -164,8 +164,8 @@ func Init() {
ScheduleTimerFunc("doDailyWork2", doDailyWork2, dailyWorkTimeList2)
ScheduleTimerFuncByInterval(func() {
orderman.SaveJdsOrders(jxcontext.AdminCtx, time.Now().Add(-10*time.Minute), time.Now())
}, 5*time.Second, 5*time.Minute)
orderman.SaveJdsOrders(jxcontext.AdminCtx, time.Now().Add(-15*time.Minute), time.Now())
}, 5*time.Second, 10*time.Minute)
ScheduleTimerFuncByInterval(func() {
RefreshRealMobile(jxcontext.AdminCtx, model.VendorIDEBAI, time.Now().Add(-24*time.Hour), utils.DefaultTimeValue, false, true)