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
74e85959
"src/main/java/vscode:/vscode.git/clone" did not exist on "5694c5d7027825e2adbe17d5bb35b09bf630bdff"
Commit
74e85959
authored
Jun 01, 2020
by
滑稽刘
Committed by
Gitee
Jun 01, 2020
Browse files
修复立即购买会清空购物车的问题
parent
64d66219
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/service/WxOrderService.java
View file @
74e85959
...
@@ -411,7 +411,11 @@ public class WxOrderService {
...
@@ -411,7 +411,11 @@ public class WxOrderService {
}
}
// 删除购物车里面的商品信息
// 删除购物车里面的商品信息
cartService
.
clearGoods
(
userId
);
if
(
cartId
.
equals
(
0
)){
cartService
.
clearGoods
(
userId
);
}
else
{
cartService
.
deleteById
(
cartId
);
}
// 商品货品数量减少
// 商品货品数量减少
for
(
LitemallCart
checkGoods
:
checkedGoodsList
)
{
for
(
LitemallCart
checkGoods
:
checkedGoodsList
)
{
...
...
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