商品评论回复功能

This commit is contained in:
sunyinggang
2020-02-10 20:59:54 +08:00
parent 1bc2f4e13d
commit 4bbe33d799
10 changed files with 92 additions and 17 deletions

View File

@@ -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());

View File

@@ -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());