fix: my available commentList reply

main
wangqing 9 months ago
parent be42cc9432
commit e17ba88de3

@ -24,6 +24,7 @@ public class CommentHis {
private String commenterAvatar; // 评论人头像 private String commenterAvatar; // 评论人头像
private String commentId; // 评论ID
private String commentContent; //评论的内容 private String commentContent; //评论的内容

@ -79,6 +79,7 @@ public class CommentService {
commentHis.set_id(idWorker.nextId()+""); commentHis.set_id(idWorker.nextId()+"");
commentHis.setCommenterId(userLoginDto.getUserId()); commentHis.setCommenterId(userLoginDto.getUserId());
commentHis.setUserId(parentComment.getUserId()); commentHis.setUserId(parentComment.getUserId());
commentHis.setCommentId(comment.get_id());
commentHis.setNickName(userLoginDto.getNickName()); commentHis.setNickName(userLoginDto.getNickName());
commentHis.setCommentContent(comment.getContent()); commentHis.setCommentContent(comment.getContent());
commentHis.setContent(parentComment.getContent()); commentHis.setContent(parentComment.getContent());

Loading…
Cancel
Save