This commit is contained in:
邹宗楠
2022-05-19 09:48:40 +08:00
parent 2523d162fd
commit b1289e0d39
2 changed files with 1 additions and 4 deletions

View File

@@ -177,8 +177,7 @@ func Init() {
// 每五分钟轮询一次推送骑手信息坐标给美团
ScheduleTimerFuncByInterval(func() {
delivery.GetOrderRiderInfoToPlatform("")
globals.SugarLogger.Debug("五分钟跑一次", time.Now())
}, 10*time.Second, 30*time.Second)
}, 10*time.Second, 5*time.Minute)
ScheduleTimerFuncByInterval(func() {
defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)