- 每天晚上自动同步饿百与美团外卖门店商品信息

This commit is contained in:
gazebo
2019-06-12 17:25:48 +08:00
parent 262f121cb8
commit 2bf8e2fab9

View File

@@ -99,4 +99,5 @@ func doDailyWork() {
globals.SugarLogger.Debug("doDailyWork")
cms.EnableHaveRestStores(jxcontext.AdminCtx, 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)
}