Browse Source

评价助手开始任务,获取销售属性提示明确error

qianyi
shanji 2 years ago
parent
commit
e735620ab9
  1. 2
      BBWY.Server.Business/PlatformSDK/JDBusiness.cs

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

Loading…
Cancel
Save