买手读单优化 拼多多活动报名优化
This commit is contained in:
1 parent
daa7f733fc
commit
0c5ebf421e
28 files changed
+2892
-116
No files matched your search
@@ -1978,6 +1978,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
List<long> aiCateIdLst = new List<long>();
|
||||
// 聚水潭商品已识别类目使用类目缓存
|
||||
if (dbProd.product_get_type_text == "厂商直采" && dbProd.wx_cat_leaf == null)
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"该商品类目信息不完整\"}";
|
||||
}
|
||||
// 微信商品使用类目缓存
|
||||
if (!dbProd.wx_cat_leaf.IsNullOrZero())
|
||||
{
|
||||
@@ -2255,7 +2259,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var afterSaleAddress = "";
|
||||
var afterSaleDetail = "";
|
||||
// 厂商直采获取售后地址用于处理售后单
|
||||
if (dbProd.product_get_type_text == "厂商直采" && dbProd.wx_cat_leaf != null)
|
||||
if (dbProd.product_get_type_text == "厂商直采")
|
||||
{
|
||||
|
||||
var urlAfterSale = BaseClass.BuildObjString("product/wx_get_after_sale");
|
||||
@@ -2322,7 +2326,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
if (dbProd.product_get_type_text == "1688厂家")
|
||||
else if (dbProd.product_get_type_text == "1688厂家")
|
||||
{
|
||||
var urlAfterSale = BaseClass.BuildObjString("product/wx_get_after_sale");
|
||||
var dataAfterSale = Work.UserLogin.GetSignaturex();
|
||||
@@ -2358,6 +2362,11 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(afterSaleAddress))
|
||||
{
|
||||
afterSaleDetail = BaseRegex.GetStringJson(ref afterSaleAddress, "detail_info");
|
||||
@@ -2419,7 +2428,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
var shippingTemplateJson = "";
|
||||
var shipPrice = 0;
|
||||
|
||||
if (dbProd.product_get_type_text == "厂商直采" && dbProd.wx_cat_leaf != null)
|
||||
if (dbProd.product_get_type_text == "厂商直采")
|
||||
{
|
||||
var urlShipping = BaseClass.BuildObjString("product/wx_get_shipping_template");
|
||||
var dataShipping = Work.UserLogin.GetSignaturex() +
|
||||
@@ -2512,7 +2521,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 运费模板
|
||||
#region 获取店铺运费模板
|
||||
var expressRst = WXUpload.getFreightTemplate(shop);
|
||||
if (!expressRst.Contains("\"code\":0") && !expressRst.Contains("\"success\":true"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user