商品评论回复功能
This commit is contained in:
@@ -141,6 +141,7 @@ public class WxCommentController {
|
||||
Map<String, Object> commentVo = new HashMap<>();
|
||||
commentVo.put("addTime", comment.getAddTime());
|
||||
commentVo.put("content", comment.getContent());
|
||||
commentVo.put("adminContent", comment.getAdminContent());
|
||||
commentVo.put("picList", comment.getPicUrls());
|
||||
|
||||
UserInfo userInfo = userInfoService.getInfo(comment.getUserId());
|
||||
|
||||
@@ -128,6 +128,7 @@ public class WxGoodsController {
|
||||
c.put("id", comment.getId());
|
||||
c.put("addTime", comment.getAddTime());
|
||||
c.put("content", comment.getContent());
|
||||
c.put("adminContent", comment.getAdminContent());
|
||||
LitemallUser user = userService.findById(comment.getUserId());
|
||||
c.put("nickname", user == null ? "" : user.getNickname());
|
||||
c.put("avatar", user == null ? "" : user.getAvatar());
|
||||
|
||||
Reference in New Issue
Block a user