Browse Source

如果缺少品牌名称 不设置完整标题

AddValidOverTime
sanji 2 years ago
parent
commit
2484313e6b
  1. 2
      BBWY.Server.Business/PlatformSDK/JDBusiness.cs

2
BBWY.Server.Business/PlatformSDK/JDBusiness.cs

@ -787,6 +787,8 @@ namespace BBWY.Server.Business
#region 设置完整标题 #region 设置完整标题
{ {
if (string.IsNullOrEmpty(brandName))
return;
var req = new WareWriteUpdateWareTitleRequest(); var req = new WareWriteUpdateWareTitleRequest();
req.wareId = long.Parse(mainProductSpu); req.wareId = long.Parse(mainProductSpu);
if (!fullTitle.StartsWith(brandName)) if (!fullTitle.StartsWith(brandName))

Loading…
Cancel
Save