同步京东库存优化
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user