店铺优化相关功能

This commit is contained in:
wule committed 2026-04-24 21:48:22 +08:00
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) + "\"}";
}