Commit e9e5800e by yu.sun

sunyu::update::update content about virtual-product qty limit

parent 42fe76fb
......@@ -179,8 +179,10 @@ public class ShoppingCartMCoffeeServiceImpl {
if (Objects.equals(addShoppingCartGoodsRequestVo.getIsMonthCard(),1) && cartGoods.getQty()>=10){
shoppingCartGoodsResponseVo.setChanged(true);
shoppingCartGoodsResponseVo.setToastMsg("该商品单次购买数量限制为10,请知晓");
addShoppingCartGoodsRequestVo.setQty(0);
break;
// 返回购物车数据
setAddAndUpdateResponse(shoppingCartGoodsResponseVo, oldCartGoodsList, null, ShoppingCartConstant.ADD_AND_UPDATE
, null);
return ResponseUtil.success(shoppingCartGoodsResponseVo);
}
}
}
......
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