618活动 10%
This commit is contained in:
1 parent
b949d0a67e
commit
610e75dfce
6 files changed
+111
-58
No files matched your search
@@ -4212,6 +4212,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
Thread.Sleep(Randomx.GetId(100, 300));
|
||||
|
||||
var maxSkuSpecCnt = prodInfo.detail.sku.Max(x => x.spec?.Count).ParseToInt();
|
||||
foreach(var skuTmp in prodInfo.detail.sku.ToList())
|
||||
{
|
||||
if (skuTmp.spec?.Count != maxSkuSpecCnt)
|
||||
prodInfo.detail.sku.Remove(skuTmp);
|
||||
}
|
||||
|
||||
upProdParam.product.info.productSaleAttrs = new List<productSaleAttrParam>();
|
||||
if (prodInfo.detail.sku == null)
|
||||
prodInfo.detail.sku = new List<sku_item>();
|
||||
@@ -5578,11 +5585,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
upProdParam.product.info.brandId = DefaultAdultBrandId.ParseToLong();
|
||||
}
|
||||
// 情趣内衣等类目禁止设置运费险
|
||||
if (upProdParam.product.info.category[1].name == "情趣内衣" ||
|
||||
upProdParam.product.info.category[1].name == "水果")
|
||||
//if (upProdParam.product.info.category[1].name == "情趣内衣" ||
|
||||
// upProdParam.product.info.category[1].name == "水果")
|
||||
if (chkFreightInsurance.Checked)
|
||||
{
|
||||
upProdParam.product.info.extraService.freightInsurance = 0;
|
||||
upProdParam.product.info.extraService.freightInsurance = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
upProdParam.product.info.extraService.freightInsurance = 0;
|
||||
}
|
||||
// 假1赔3
|
||||
if (upProdParam.product.info.category[0].name == "珠宝首饰" || upProdParam.product.info.category[1].name == "时尚饰品")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user