Commit e49f9bd9 by yu.sun

sunyu::update::fix bug about monthcard add to cart

parent e9e5800e
...@@ -180,9 +180,11 @@ public class ShoppingCartMCoffeeServiceImpl { ...@@ -180,9 +180,11 @@ public class ShoppingCartMCoffeeServiceImpl {
shoppingCartGoodsResponseVo.setChanged(true); shoppingCartGoodsResponseVo.setChanged(true);
shoppingCartGoodsResponseVo.setToastMsg("该商品单次购买数量限制为10,请知晓"); shoppingCartGoodsResponseVo.setToastMsg("该商品单次购买数量限制为10,请知晓");
// 返回购物车数据 // 返回购物车数据
setAddAndUpdateResponse(shoppingCartGoodsResponseVo, oldCartGoodsList, null, ShoppingCartConstant.ADD_AND_UPDATE setAddAndUpdateResponse(shoppingCartGoodsResponseVo, oldCartGoodsList,
ResponseResult.SHOPPING_CART_ADD_ERROR.getMessage(), ShoppingCartConstant.ADD_AND_UPDATE
, null); , null);
return ResponseUtil.success(shoppingCartGoodsResponseVo); return ResponseUtil.success(shoppingCartGoodsResponseVo);
break;
} }
} }
} }
......
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