|
|
@ -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<string>("name") == "颜色"); |
|
|
|
if (colorProperty == null) |
|
|
|
throw new Exception("获取销售属性-缺少颜色属性"); |
|
|
|
throw new BusinessException("获取销售属性-缺少颜色属性"); |
|
|
|
colorSaleAttrs = colorProperty["attrValueList"].ToList(); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|