作者 yangfu

fix: 封面

... ... @@ -109,6 +109,7 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ
ParagraphType: item.ParagraphType,
})
})
resp.Cover = article.GetCoverWithSections(articleSections)
userIds := lo.Union(resp.WhoRead, resp.WhoReview)
if len(userIds) > 0 {
_, users, err := l.svcCtx.UserRepository.Find(l.ctx, conn, domain.NewQueryOptions().WithKV("ids", userIds))
... ...