|
@@ -267,6 +267,7 @@ func List(userId uint64, communityQuestionID int, hotFlag bool, page, pageSize i
|
|
|
UserImgUrl: utils.DEFAULT_HONGZE_USER_LOGO,
|
|
|
CreateTime: v.CreateTime,
|
|
|
ReplyList: nil,
|
|
|
+ QaAvatarUrl: v.QaAvatarUrl,
|
|
|
}
|
|
|
if info, ok := usersMap[v.UserID]; ok && v.IsShowName == 1 {
|
|
|
tmp.UserName = info.NickName
|
|
@@ -390,6 +391,7 @@ func HandleCommentByCommunityQuestionItemList(userId uint64, questionList []*res
|
|
|
//最近一条 精选/我的 评论
|
|
|
if ybCommunityQuestionCommentInfo, ok := ybCommunityQuestionCommentMap[uint32(v.CommunityQuestionID)]; ok {
|
|
|
v.Comment = ybCommunityQuestionCommentInfo.Content
|
|
|
+ v.QaAvatarUrl = ybCommunityQuestionCommentInfo.QaAvatarUrl
|
|
|
v.CommentUserName = "匿名用户" + strconv.Itoa(int(3333+ybCommunityQuestionCommentInfo.UserID))
|
|
|
if info, ok := usersMap[ybCommunityQuestionCommentInfo.UserID]; ok && ybCommunityQuestionCommentInfo.IsShowName == 1 {
|
|
|
v.CommentUserName = info.NickName
|