1微店接口签名网站 2微店店铺管理和上货移植 40%
This commit is contained in:
1 parent
cafdbbd95d
commit
6c4f16b897
51 files changed
+6640
-2080
No files matched your search
@@ -3441,7 +3441,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// 库存
|
||||
skuParam.productSkuInfo.stockInfo = new stockInfoParam() { stockNum = defaultAddPriceRule.StockNum };
|
||||
// 厂商直采上家库存为0则按0上架
|
||||
if (dbProd.product_get_type_text == "厂商直采" && skuInfo.quantity.ParseToInt() == 0)
|
||||
if (dbProd.product_get_type_text == "厂商直采" && skuInfo.quantity.IsNullOrZero())
|
||||
skuParam.productSkuInfo.stockInfo.stockNum = 0;
|
||||
skuParam.productSkuInfo.saleParam = new List<saleParamParam>();
|
||||
foreach (var specInfo in skuInfo.spec)
|
||||
@@ -3478,7 +3478,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
skuParam.productSkuInfo.skuDeliverInfo = new skuDeliverInfoParam();
|
||||
skuParam.productSkuInfo.stockDiff = new stockDiffParam() { diffType = 1, num = defaultAddPriceRule.StockNum };
|
||||
if (skuInfo.quantity.ParseToInt() == 0)
|
||||
// 厂商直采上家库存为0则按0上架
|
||||
if (dbProd.product_get_type_text == "厂商直采" && skuInfo.quantity.IsNullOrZero())
|
||||
skuParam.productSkuInfo.stockDiff.num = 0;
|
||||
skuParam.status = 5;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user