作者 yangfu

fix: 文章详情修改

... ... @@ -2,6 +2,7 @@ package article
import (
"context"
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/logic/core"
"github.com/samber/lo"
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/interanl/pkg/domain"
... ... @@ -102,6 +103,9 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ
Content: item.Content,
SortBy: item.SortBy,
TotalComment: item.TotalComment,
Images: item.Images,
ParagraphTemplate: core.NewTypesParagraph(item.ParagraphTemplate),
ParagraphType: item.ParagraphType,
})
})
userIds := lo.Union(resp.WhoRead, resp.WhoReview)
... ...