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