Commit 400daa73 by yu.sun

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

parent 974caeef
......@@ -381,8 +381,12 @@ public class ShoppingCartMCoffeeServiceImpl {
}
}
if (updateShoppingCartGoodsQtyRequestVo.getQty()>10) {
return ResponseUtil.success(ResponseResult.SHOPPING_CART_QTY_LIMIT_ERR);
// throw new ServiceException(ResponseResult.SHOPPING_CART_QTY_LIMIT_ERR);
shoppingCartGoodsResponseVo.setChanged(true);
shoppingCartGoodsResponseVo.setToastMsg(ResponseResult.SHOPPING_CART_QTY_LIMIT_ERR.getMessage());
setAddAndUpdateResponse(shoppingCartGoodsResponseVo,cartGoodsList,
ResponseResult.SHOPPING_CART_QTY_LIMIT_ERR.getMessage(),
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