...
|
...
|
@@ -102,6 +102,7 @@ func (l *MiniListArticleCommentLogic) MiniListArticleComment(req *types.MiniList |
|
|
AtWho: []types.CommentAtWho{},
|
|
|
CreatedAt: val.CreatedAt,
|
|
|
MeLoveFlag: 0,
|
|
|
Content: val.Content,
|
|
|
},
|
|
|
Reply: []types.ArticleCommentItem{},
|
|
|
TotalReply: int64(val.CountReply),
|
...
|
...
|
@@ -175,6 +176,7 @@ func (l *MiniListArticleCommentLogic) listCommentReply(commentId int64, loveFlag |
|
|
AtWho: []types.CommentAtWho{},
|
|
|
CreatedAt: val.CreatedAt,
|
|
|
MeLoveFlag: 0,
|
|
|
Content: val.Content,
|
|
|
}
|
|
|
|
|
|
if _, ok := loveFlagMap[val.Id]; ok {
|
...
|
...
|
|