1
This commit is contained in:
@@ -50,6 +50,8 @@ func UpdateStoreOperatorConfig() {
|
||||
globals.SugarLogger.Debug("Marshal err :", err)
|
||||
return
|
||||
}
|
||||
globals.SugarLogger.Debug("=============222222",userData)
|
||||
globals.SugarLogger.Debug("=============222222",string(byteData))
|
||||
if err := dao.UpdateOperatorConfig(string(byteData)); err != nil {
|
||||
globals.SugarLogger.Debug("update new_config err :", err)
|
||||
return
|
||||
|
||||
@@ -186,7 +186,7 @@ func Init() {
|
||||
})
|
||||
ScheduleTimerFuncByInterval(func() {
|
||||
cms.UpdateStoreOperatorConfig()
|
||||
}, 10*time.Second, 5*time.Minute)
|
||||
}, 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)
|
||||
|
||||
Reference in New Issue
Block a user