京东商城同步

This commit is contained in:
苏尹岚
2020-05-25 14:52:41 +08:00
parent f3e1f4e83b
commit 05ddde69e6
2 changed files with 55 additions and 54 deletions

View File

@@ -402,6 +402,7 @@ func doDailyWork() {
//刷新京东商城订单结算价
orderman.RefreshJdShopOrdersEarningPrice(jxcontext.AdminCtx, time.Now().AddDate(0, 0, -3).Format("20060102"), time.Now().Format("20060102"))
//同步京东商城门店库存和商品
cms.CurVendorSync.SyncJdsStoresSkus(jxcontext.AdminCtx, nil, true, true)
//同步上架京东商城待售商品
cms.RefreshJdsSkusStatus(jxcontext.AdminCtx)
}