This commit is contained in:
邹宗楠
2022-06-02 10:52:08 +08:00
parent 2fc12ba443
commit 2e8df3d6dd
2 changed files with 5 additions and 1 deletions

View File

@@ -184,6 +184,9 @@ func Init() {
}, []string{
"16:00:00", "16:10:00",
})
ScheduleTimerFuncByInterval(func() {
cms.UpdateStoreOperatorConfig()
}, 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)