Browse Source

上架赠品检查失败增加回退

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

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

@ -1103,7 +1103,16 @@ namespace BBWY.Server.Business
stepText = "查询上架的赠品SKU";
searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList);
searchProductSkuRequest.CheckStep = "上架的赠品";
try
{
giftSkuList = GetProductSkuList(searchProductSkuRequest);
}
catch
{
RollBackWhenStartPromotionError(request.AppKey, request.AppSecret, request.AppToken, giftSkuIdList, request.MainProductSpu, request.FullTitle, brandName, haveGiftTemplateSku);
throw;
}
#endregion
}

Loading…
Cancel
Save