From 34efa54cc9df0bd30429db652d40009b75d86b57 Mon Sep 17 00:00:00 2001 From: wule Date: Mon, 15 Jun 2026 01:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E5=95=86=E5=93=81=E8=BD=AC=E6=8D=A2=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=95=B0=E7=BC=BA=E5=A4=B1=E5=AF=BC=E8=87=B4=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AllBase/BaseClass.cs | 2 +- TEMUKJD/BLL/PDDProdFormConverter.cs | 2 +- TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 31a1e11..6fb6a2d 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -27,7 +27,7 @@ namespace AllBase /// /// 版本ID /// - public static int VersionCount = 1186; + public static int VersionCount = 1187; public static string MainPath = "29wx"; //public static string MainPath = "29wx"; //public static string MainPath = "29pdd"; diff --git a/TEMUKJD/BLL/PDDProdFormConverter.cs b/TEMUKJD/BLL/PDDProdFormConverter.cs index 84c77ba..e047b82 100644 --- a/TEMUKJD/BLL/PDDProdFormConverter.cs +++ b/TEMUKJD/BLL/PDDProdFormConverter.cs @@ -1500,7 +1500,7 @@ namespace TemuKJD.BLL multi_price_in_yuan = null, price = wxEditSkuInfo.productSkuInfo.salePrice.ParseToInt() + 100, price_in_yuan = null, - quantity = wxEditSkuInfo.productSkuInfo.realStockInfo.stockNum, + quantity = wxEditSkuInfo.productSkuInfo.realStockInfo?.stockNum ?? wxEditSkuInfo.productSkuInfo.stockInfo?.stockNum.ParseToInt(), reserve_quantity = 0, weight = 0, thumb_url = wxEditSkuInfo.productSkuInfo.thumbImg, diff --git a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs index 657e73d..5e5506c 100644 --- a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs @@ -1504,7 +1504,7 @@ namespace TemuKJD.WXForms.ProductForms var error = BaseRegex.GetStringJson(ref searchRst, "msg"); if (string.IsNullOrEmpty(error)) error = searchRst; - return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + error + "\"}"; + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"已存在商品查询错误 " + error + "\"}"; } try { @@ -1516,7 +1516,7 @@ namespace TemuKJD.WXForms.ProductForms } catch (Exception ex) { - return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + ex.Message + "\"}"; + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"已存在商品查询错误 " + ex.Message + "\"}"; } } // 非裂变商品按商品Id @@ -1536,7 +1536,7 @@ namespace TemuKJD.WXForms.ProductForms var error = BaseRegex.GetStringJson(ref searchRst, "msg"); if (string.IsNullOrEmpty(error)) error = searchRst; - return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + error + "\"}"; + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"已存在商品查询错误 " + error + "\"}"; } try { @@ -1548,7 +1548,7 @@ namespace TemuKJD.WXForms.ProductForms } catch (Exception ex) { - return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + ex.Message + "\"}"; + return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"已存在商品查询错误 " + ex.Message + "\"}"; } } }