Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
ec9edbdb
Commit
ec9edbdb
authored
Apr 25, 2018
by
Junling Bu
Browse files
fix[litemall-wx]: 小程序端报错couponList是undefined。
parent
4cc76524
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxCartController.java
View file @
ec9edbdb
...
...
@@ -515,11 +515,12 @@ public class WxCartController {
BigDecimal
orderTotalPrice
=
checkedGoodsPrice
.
add
(
freightPrice
).
subtract
(
couponPrice
);
BigDecimal
actualPrice
=
orderTotalPrice
.
subtract
(
integralPrice
);
Map
<
String
,
Object
>
data
=
new
HashMap
();
Map
<
String
,
Object
>
data
=
new
HashMap
<>
();
data
.
put
(
"addressId"
,
addressId
);
data
.
put
(
"checkedAddress"
,
checkedAddress
);
data
.
put
(
"couponId"
,
couponId
);
data
.
put
(
"checkedCoupon"
,
0
);
data
.
put
(
"couponList"
,
""
);
data
.
put
(
"goodsTotalPrice"
,
checkedGoodsPrice
);
data
.
put
(
"freightPrice"
,
freightPrice
);
data
.
put
(
"couponPrice"
,
couponPrice
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment