正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -102,6 +102,7 @@ func (l *MiniListArticleCommentLogic) MiniListArticleComment(req *types.MiniList | @@ -102,6 +102,7 @@ func (l *MiniListArticleCommentLogic) MiniListArticleComment(req *types.MiniList | ||
102 | AtWho: []types.CommentAtWho{}, | 102 | AtWho: []types.CommentAtWho{}, |
103 | CreatedAt: val.CreatedAt, | 103 | CreatedAt: val.CreatedAt, |
104 | MeLoveFlag: 0, | 104 | MeLoveFlag: 0, |
105 | + Content: val.Content, | ||
105 | }, | 106 | }, |
106 | Reply: []types.ArticleCommentItem{}, | 107 | Reply: []types.ArticleCommentItem{}, |
107 | TotalReply: int64(val.CountReply), | 108 | TotalReply: int64(val.CountReply), |
@@ -175,6 +176,7 @@ func (l *MiniListArticleCommentLogic) listCommentReply(commentId int64, loveFlag | @@ -175,6 +176,7 @@ func (l *MiniListArticleCommentLogic) listCommentReply(commentId int64, loveFlag | ||
175 | AtWho: []types.CommentAtWho{}, | 176 | AtWho: []types.CommentAtWho{}, |
176 | CreatedAt: val.CreatedAt, | 177 | CreatedAt: val.CreatedAt, |
177 | MeLoveFlag: 0, | 178 | MeLoveFlag: 0, |
179 | + Content: val.Content, | ||
178 | } | 180 | } |
179 | 181 | ||
180 | if _, ok := loveFlagMap[val.Id]; ok { | 182 | if _, ok := loveFlagMap[val.Id]; ok { |
-
请 注册 或 登录 后发表评论