From e735620ab924eabe2fe21df25caee7d2a38f1e5a Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Thu, 16 Feb 2023 18:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BB=B7=E5=8A=A9=E6=89=8B=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E4=BB=BB=E5=8A=A1=EF=BC=8C=E8=8E=B7=E5=8F=96=E9=94=80?= =?UTF-8?q?=E5=94=AE=E5=B1=9E=E6=80=A7=E6=8F=90=E7=A4=BA=E6=98=8E=E7=A1=AE?= =?UTF-8?q?error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWY.Server.Business/PlatformSDK/JDBusiness.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs index 33edd198..87d70d25 100644 --- a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs +++ b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs @@ -943,7 +943,7 @@ namespace BBWY.Server.Business response.Json = JObject.Parse(response.Body); var colorProperty = response.Json["jingdong_category_read_findAttrsByCategoryIdUnlimitCate_responce"]["findattrsbycategoryidunlimitcate_result"].FirstOrDefault(j => j.Value("name") == "颜色"); if (colorProperty == null) - throw new Exception("获取销售属性-缺少颜色属性"); + throw new BusinessException("获取销售属性-缺少颜色属性"); colorSaleAttrs = colorProperty["attrValueList"].ToList(); } #endregion