- 每天晚上自动同步饿百与美团外卖门店商品信息
This commit is contained in:
@@ -99,4 +99,5 @@ func doDailyWork() {
|
|||||||
globals.SugarLogger.Debug("doDailyWork")
|
globals.SugarLogger.Debug("doDailyWork")
|
||||||
cms.EnableHaveRestStores(jxcontext.AdminCtx, true, true)
|
cms.EnableHaveRestStores(jxcontext.AdminCtx, true, true)
|
||||||
cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD}, nil, true, true)
|
cms.CurVendorSync.FullSyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDJD}, nil, true, true)
|
||||||
|
cms.CurVendorSync.SyncStoresSkus(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDEBAI, model.VendorIDMTWM}, nil, nil, false, true, true)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user