1688商品采集
This commit is contained in:
1 parent
53736cff6e
commit
c489c30bf1
35 files changed
+4095
-254
No files matched your search
@@ -1127,6 +1127,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbSourceType.Items.AddRange(new object[] {
|
||||
"",
|
||||
"厂商直采",
|
||||
"1688厂家",
|
||||
"微信店采",
|
||||
"店铺采集",
|
||||
"机会商品",
|
||||
@@ -2266,6 +2267,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.KeyPreview = true;
|
||||
this.Name = "WXDBProdUploadForm";
|
||||
this.Text = "微信小店";
|
||||
this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
|
||||
|
||||
@@ -1520,7 +1520,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var skuJArr2 = prodJObj2["detail"]["sku"] as JArray;
|
||||
foreach (var skuJObj2 in skuJArr2)
|
||||
{
|
||||
if (skuJObj2["multi_price"].ParseToInt() >= this.txtMinPrice.Text.Trim().ParseToDecimal() * 100)
|
||||
var limitPrice = this.txtMinPrice.Text.Trim().ParseToDecimal() * 100;
|
||||
// 供应商价加价10%(最低1元)赚取差价 先加价后过滤,过滤条件也要相应增加10%
|
||||
//if (dbProd.product_get_type_text == "厂商直采")
|
||||
// limitPrice += Math.Max(100m, limitPrice * 0.1m);
|
||||
if (skuJObj2["multi_price"].ParseToInt() >= limitPrice)
|
||||
skuJArr.Add(skuJObj2);
|
||||
}
|
||||
if (skuJArr.Count == 0)
|
||||
@@ -2980,6 +2984,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
attrValue = "100 g";
|
||||
else if (attr.value == "cm")
|
||||
attrValue = "20 cm";
|
||||
else if (attr.value.Contains("岁以上") && attr.value.Contains("个月以上"))
|
||||
attrValue = "7 岁以上";
|
||||
}
|
||||
|
||||
var wxPropParam = new wxPropParam();
|
||||
|
||||
Reference in new issue
Block a user