1
This commit is contained in:
@@ -178,6 +178,13 @@ func Init() {
|
||||
delivery.GetOrderRiderInfoToPlatform("")
|
||||
}, 10*time.Second, 5*time.Minute)
|
||||
|
||||
// 定时任务更新负责人信息
|
||||
ScheduleTimerFunc("RefreshStoreOperator", func() {
|
||||
cms.UpdateStoreOperatorConfig()
|
||||
}, []string{
|
||||
"03:30:00",
|
||||
})
|
||||
|
||||
ScheduleTimerFuncByInterval(func() {
|
||||
defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)
|
||||
}, 5*time.Second, 10*time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user