Commit 3fc9504d by chongfu.liang

商品券不检查

parent 5d924d09
......@@ -58,7 +58,7 @@ public class ShoppingCartAdapter {
validateShopProductRequest.setProductTypeList(new ArrayList<>());
for (CartGoods cartGoods : checkCartRequest.getCartGoodsList()) {
// 过滤非商品券商品
if (cartGoods.getCartGoodsUid().startsWith(CommonsConstant.COUPON_PREFIX)) {
if (cartGoods.getCartGoodsUid().startsWith(CommonsConstant.COUPON_PREFIX) || StringUtils.isNotBlank(cartGoods.getCouponCode())) {
continue;
}
ValidateShopProductType productType = new ValidateShopProductType();
......
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