1
This commit is contained in:
@@ -423,15 +423,15 @@ func Init() {
|
|||||||
}, dailyWorkTimeList)
|
}, dailyWorkTimeList)
|
||||||
ScheduleTimerFunc("doDailyWork2-1", func() {
|
ScheduleTimerFunc("doDailyWork2-1", func() {
|
||||||
// 刷新商品,换个时间节点,房子请求超时
|
// 刷新商品,换个时间节点,房子请求超时
|
||||||
cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
|
//cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, dao.GetDB(), []int{1, 3}, nil, false, nil, nil, model.SyncFlagSaleMask, true, true)
|
||||||
|
// 刷新门店平台商品
|
||||||
|
syncStoreSku()
|
||||||
}, []string{"02:00:00"})
|
}, []string{"02:00:00"})
|
||||||
|
|
||||||
ScheduleTimerFunc("doDailyWork3", func() {
|
ScheduleTimerFunc("doDailyWork3", func() {
|
||||||
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)
|
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)
|
||||||
cms.CurVendorSync.SyncStore2Time(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDMTWM, model.VendorIDJD, model.VendorIDEBAI, model.VendorIDDD}, nil, true, true)
|
cms.CurVendorSync.SyncStore2Time(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDMTWM, model.VendorIDJD, model.VendorIDEBAI, model.VendorIDDD}, nil, true, true)
|
||||||
|
|
||||||
// 刷新门店平台商品
|
|
||||||
syncStoreSku()
|
|
||||||
InitEx()
|
InitEx()
|
||||||
cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true)
|
cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true)
|
||||||
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
|
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user