拼多多以图搜品功能
This commit is contained in:
1 parent
600c009509
commit
7c2e15943f
13 files changed
+3024
-187
No files matched your search
@@ -2500,8 +2500,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
//if (attr.name == "ISBN版号/CN刊号")
|
||||
// attrValue = "9787922575016";
|
||||
//if (attr.name == "书名")
|
||||
// attrValue = upProdParam.product.info.title;
|
||||
if (attr.name == "书名")
|
||||
attrValue = upProdParam.product.info.title;
|
||||
if (attr.name == "是否为单一书号丛书")
|
||||
attrValue = "是";
|
||||
if (attr.name == "图书册数")
|
||||
@@ -2857,7 +2857,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
string bookName = "书名:";
|
||||
string bookPrice = "定价:" + upProdParam.product.productSkus.Max(s => s.productSkuInfo.salePrice) * 0.01;
|
||||
string author = "作者:王老师";
|
||||
string publishTime = "出版时间:" + DateTime.Now.AddMonths(-3);
|
||||
string publishTime = "出版时间:" + DateTime.Now.AddMonths(-3).ToString("yyyy年MM月dd日");
|
||||
string edition = "版次:1";
|
||||
string binding = "装帧:平装";
|
||||
|
||||
@@ -2870,7 +2870,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
else if (propParam.categorys[0].name.Contains("书名"))
|
||||
bookName = "书名:" + propParam.categorys[1].name;
|
||||
else if (propParam.categorys[0].name.Contains("定价"))
|
||||
bookPrice = "定价:" + propParam.categorys[1].name;
|
||||
{
|
||||
//bookPrice = "定价:" + propParam.categorys[1].name;
|
||||
propParam.categorys[1].name = bookPrice;
|
||||
}
|
||||
else if (propParam.categorys[0].name.Contains("作者"))
|
||||
author = "作者:" + propParam.categorys[1].name;
|
||||
else if (propParam.categorys[0].name.Contains("出版时间"))
|
||||
|
||||
Reference in new issue
Block a user