diff --git a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs index b1e85629..6753e8a9 100644 --- a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs +++ b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs @@ -1103,7 +1103,16 @@ namespace BBWY.Server.Business stepText = "查询上架的赠品SKU"; searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList); searchProductSkuRequest.CheckStep = "上架的赠品"; - giftSkuList = GetProductSkuList(searchProductSkuRequest); + try + { + giftSkuList = GetProductSkuList(searchProductSkuRequest); + } + catch + { + RollBackWhenStartPromotionError(request.AppKey, request.AppSecret, request.AppToken, giftSkuIdList, request.MainProductSpu, request.FullTitle, brandName, haveGiftTemplateSku); + throw; + } + #endregion }