release-- 修复评论内测用户bug

release-2024-04-25
wangqing 2 months ago
parent 539f3e2bc4
commit acd7e4e1b7

@ -207,6 +207,7 @@ public class CommentController extends BaseController {
if(null != commentUserInfo) {
commentResp.setNickName(commentUserInfo.getNickName());
commentResp.setAvatar(getAvatar(commentUserInfo));
commentResp.setIsBetaUser(commentUserInfo.getIsBetaUser());
if(StringUtils.isNotEmpty(comment.getReplyToUserId())){
UserInfo replyToUserInfo = userInfoService.findById(comment.getReplyToUserId());
commentResp.setReplyToNickname(replyToUserInfo.getNickName());

Loading…
Cancel
Save