This commit is contained in:
邹宗楠
2022-06-02 17:22:31 +08:00
parent d520628837
commit c3d223ffc2
3 changed files with 5 additions and 6 deletions

View File

@@ -182,11 +182,8 @@ func Init() {
ScheduleTimerFunc("RefreshStoreOperator", func() {
cms.UpdateStoreOperatorConfig()
}, []string{
"16:00:00", "16:10:00",
"04:00:00",
})
ScheduleTimerFuncByInterval(func() {
cms.UpdateStoreOperatorConfig()
}, 10*time.Second, 2*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)