Commit d4629a76 by 刘鹏飞

创单获取购物数据增加买一赠一寄件用户选择的验证,总的活动对象要判空

parent 131e11f1
......@@ -267,6 +267,9 @@ public class BuyOneGiveOneSendService {
return;
}
if(discountResult == null){
throw new ServiceException(ResponseResult.SHOPPING_CART_BUY_ONE_SEND_GOODS_NOT_EMPTY);
}
// 促销返回的赠送信息
List<CalculationSharingDiscountResponseDto.CalculationDiscountResult.SendActivity> sendGoods = discountResult.getSendGoods();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment