Commit ec9edbdb authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx]: 小程序端报错couponList是undefined。

parent 4cc76524
...@@ -515,11 +515,12 @@ public class WxCartController { ...@@ -515,11 +515,12 @@ public class WxCartController {
BigDecimal orderTotalPrice = checkedGoodsPrice.add(freightPrice).subtract(couponPrice); BigDecimal orderTotalPrice = checkedGoodsPrice.add(freightPrice).subtract(couponPrice);
BigDecimal actualPrice = orderTotalPrice.subtract(integralPrice); BigDecimal actualPrice = orderTotalPrice.subtract(integralPrice);
Map<String, Object> data = new HashMap(); Map<String, Object> data = new HashMap<>();
data.put("addressId", addressId); data.put("addressId", addressId);
data.put("checkedAddress", checkedAddress); data.put("checkedAddress", checkedAddress);
data.put("couponId", couponId); data.put("couponId", couponId);
data.put("checkedCoupon", 0); data.put("checkedCoupon", 0);
data.put("couponList", "");
data.put("goodsTotalPrice", checkedGoodsPrice); data.put("goodsTotalPrice", checkedGoodsPrice);
data.put("freightPrice", freightPrice); data.put("freightPrice", freightPrice);
data.put("couponPrice", couponPrice); data.put("couponPrice", couponPrice);
......
Supports Markdown
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