|
@@ -109,6 +109,7 @@ public class CommentService {
|
|
|
private UserReply getCommentVo(UserComment userComment) {
|
|
private UserReply getCommentVo(UserComment userComment) {
|
|
|
Long commentId = userComment.getCommentId();
|
|
Long commentId = userComment.getCommentId();
|
|
|
Long userId = userComment.getPublishBy();
|
|
Long userId = userComment.getPublishBy();
|
|
|
|
|
+ String userIdStr = accountQuery.getUserIdStr(userId);
|
|
|
String postId = userComment.getPostId();
|
|
String postId = userComment.getPostId();
|
|
|
String content = userComment.getContent();
|
|
String content = userComment.getContent();
|
|
|
Long createAt = userComment.getPublishAt();
|
|
Long createAt = userComment.getPublishAt();
|
|
@@ -116,7 +117,7 @@ public class CommentService {
|
|
|
List<String> images = userComment.getCommentImages();
|
|
List<String> images = userComment.getCommentImages();
|
|
|
|
|
|
|
|
ReplyUser commentUser = new ReplyUser();
|
|
ReplyUser commentUser = new ReplyUser();
|
|
|
- commentUser.setUserId(userId);
|
|
|
|
|
|
|
+ commentUser.setUserId(userIdStr);
|
|
|
UserCard userCard = userService.getUserAvatar(userId);
|
|
UserCard userCard = userService.getUserAvatar(userId);
|
|
|
if (userCard != null) {
|
|
if (userCard != null) {
|
|
|
commentUser.setName(userCard.getScreenName());
|
|
commentUser.setName(userCard.getScreenName());
|