This commit is contained in:
suyl
2021-07-20 11:01:04 +08:00
parent 6889d62b08
commit 6c687b9431
2 changed files with 5 additions and 4 deletions

View File

@@ -169,6 +169,7 @@ func Init() {
ScheduleTimerFuncByInterval(func() {
RefreshRealMobile(jxcontext.AdminCtx, model.VendorIDEBAI, time.Now().Add(-24*time.Hour), utils.DefaultTimeValue, false, true)
report.RefreshStoreManageState(jxcontext.AdminCtx, nil, []int{model.VendorIDJD})
}, 5*time.Second, 1*time.Hour)
ScheduleTimerFuncByInterval(func() {
@@ -176,7 +177,7 @@ func Init() {
}, 5*time.Second, 10*time.Minute)
ScheduleTimerFuncByInterval(func() {
report.RefreshStoreManageState(jxcontext.AdminCtx, nil)
report.RefreshStoreManageState(jxcontext.AdminCtx, nil, []int{model.VendorIDMTWM, model.VendorIDEBAI})
}, 5*time.Second, 20*time.Minute)
ScheduleTimerFuncByInterval(func() {