同步京东库存优化

This commit is contained in:
苏尹岚
2020-07-28 08:44:58 +08:00
parent 863667b05d
commit 571e28abc0
2 changed files with 35 additions and 41 deletions

View File

@@ -46,7 +46,7 @@ var (
"20:30:00",
}
dailyWorkTimeList2 = []string{
"18:30:00",
"02:00:00",
}
priceReferTimeList = []string{
"03:00:00",
@@ -383,8 +383,10 @@ func syncStoreSku() {
func doDailyWork2() {
globals.SugarLogger.Debug("doDailyWork2")
//同步京东商城门店库存和商品
//同步京东商城门店商品
cms.CurVendorSync.SyncJdsStoresSkus(jxcontext.AdminCtx, nil, true, true)
//刷新京东商城的门店库存
cms.SyncJdsStoreStock(jxcontext.AdminCtx, dao.GetDB(), nil, true, true)
}
func doDailyWork() {