mtwm的RetailSellStatus不需要传递Skus参数
This commit is contained in:
@@ -306,6 +306,8 @@ func storeSku2Mtwm(storeSkuList []*partner.StoreSkuInfo, updateType int) (skuLis
|
|||||||
skuInfo.Skus[0].Stock = stockCount2Mtwm(storeSku.Stock)
|
skuInfo.Skus[0].Stock = stockCount2Mtwm(storeSku.Stock)
|
||||||
} else if updateType == updateTypePrice {
|
} else if updateType == updateTypePrice {
|
||||||
skuInfo.Skus[0].Price = jxutils.IntPrice2StandardString(storeSku.VendorPrice)
|
skuInfo.Skus[0].Price = jxutils.IntPrice2StandardString(storeSku.VendorPrice)
|
||||||
|
} else {
|
||||||
|
skuInfo.Skus = nil
|
||||||
}
|
}
|
||||||
skuList = append(skuList, skuInfo)
|
skuList = append(skuList, skuInfo)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user