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
2d007e82
Commit
2d007e82
authored
Nov 11, 2018
by
Junling Bu
Browse files
fix[litemall-wx-api]: 订单商品评价设置不正确
parent
a749e9c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxOrderController.java
View file @
2d007e82
...
...
@@ -942,8 +942,9 @@ public class WxOrderController {
// 1. 创建评价
LitemallComment
comment
=
new
LitemallComment
();
comment
.
setUserId
(
userId
);
comment
.
setType
((
byte
)
0
);
comment
.
setValueId
(
orderGoods
.
getGoodsId
());
comment
.
set
Type
((
byte
)
1
);
comment
.
set
Star
(
star
.
shortValue
()
);
comment
.
setContent
(
content
);
comment
.
setHasPicture
(
hasPicture
);
comment
.
setPicUrls
(
picUrls
.
toArray
(
new
String
[]{}));
...
...
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