京东商品状态上下架
This commit is contained in:
@@ -777,7 +777,7 @@ func buildUpdateSkusParam(storeSku *dao.StoreSkuSyncInfo, v *dao.StoreSkuSyncInf
|
||||
OuterID: utils.Int2Str(v.SkuID),
|
||||
}
|
||||
//库存设置
|
||||
if v.Status == model.SkuStatusNormal {
|
||||
if v.StoreSkuStatus == model.SkuStatusNormal {
|
||||
sku.StockNum = "9999"
|
||||
} else {
|
||||
sku.StockNum = "0"
|
||||
|
||||
Reference in New Issue
Block a user