|
|
@ -787,6 +787,8 @@ namespace BBWY.Server.Business |
|
|
|
|
|
|
|
#region 设置完整标题
|
|
|
|
{ |
|
|
|
if (string.IsNullOrEmpty(brandName)) |
|
|
|
return; |
|
|
|
var req = new WareWriteUpdateWareTitleRequest(); |
|
|
|
req.wareId = long.Parse(mainProductSpu); |
|
|
|
if (!fullTitle.StartsWith(brandName)) |
|
|
@ -937,7 +939,7 @@ namespace BBWY.Server.Business |
|
|
|
throw new BusinessException($"获取主商品品牌失败-{(string.IsNullOrEmpty(res.ErrorMsg) ? res.ErrMsg : res.ErrorMsg)}"); |
|
|
|
if (res.Json == null) |
|
|
|
res.Json = JObject.Parse(res.Body); |
|
|
|
brandName = res.Json["jingdong_ware_read_findWareById_responce"]["ware"].Value<string>("brandName"); |
|
|
|
brandName = res.Json["jingdong_ware_read_findWareById_responce"]["ware"].Value<string>("brandName"); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
|