aa
This commit is contained in:
@@ -179,7 +179,6 @@ func Init() {
|
||||
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)
|
||||
|
||||
//20分钟一次,两个统计
|
||||
ScheduleTimerFuncByInterval(func() {
|
||||
report.RefreshStoreManageState(jxcontext.AdminCtx)
|
||||
}, 5*time.Second, 20*time.Minute)
|
||||
@@ -356,6 +355,8 @@ func syncStoreSku() {
|
||||
if true {
|
||||
syncFlag |= model.SyncFlagSaleMask
|
||||
}
|
||||
} else {
|
||||
syncFlag |= model.SyncFlagSaleMask
|
||||
}
|
||||
task := tasksch.NewParallelTask("同步京西与平台数据", nil, jxcontext.AdminCtx,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
|
||||
Reference in New Issue
Block a user