店铺优化相关功能
This commit is contained in:
1 parent
9805792aed
commit
0e6a927cf2
43 files changed
+3305
-1604
No files matched your search
@@ -569,6 +569,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -3849,7 +3851,12 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
var error = BaseRegex.GetStringJson(ref uploadDraftRst, "msg");
|
||||
if (string.IsNullOrEmpty(error))
|
||||
error = uploadDraftRst;
|
||||
{
|
||||
if(uploadDraftRst.Contains("\"errcode\":9401043"))
|
||||
error = "sku价格异常,请检查加价比例";
|
||||
else
|
||||
error = uploadDraftRst;
|
||||
}
|
||||
var draftId = BaseRegex.GetStringJson(ref uploadDraftRst, "productId").ParseToLong();
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"草稿保存失败 " + GetHtml.UrlEncodeUtf8(error) + "\"}";
|
||||
}
|
||||
|
||||
@@ -351,6 +351,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
|
||||
@@ -295,6 +295,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
|
||||
@@ -354,6 +354,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
@@ -822,7 +824,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopRow != null)
|
||||
{
|
||||
shopRow.Cells["colOpResult"].Value = error;
|
||||
shopRow.Cells["colMessage"].Value = error;
|
||||
}
|
||||
}));
|
||||
break;
|
||||
|
||||
@@ -293,6 +293,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
if (shopEntity.is_shop_expire)
|
||||
return;
|
||||
if (selectShopId == null)
|
||||
selectShopId = new List<string>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user