正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -2,6 +2,7 @@ package article | @@ -2,6 +2,7 @@ package article | ||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "context" | 4 | "context" |
5 | + "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/logic/core" | ||
5 | 6 | ||
6 | "github.com/samber/lo" | 7 | "github.com/samber/lo" |
7 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/interanl/pkg/domain" | 8 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/interanl/pkg/domain" |
@@ -102,6 +103,9 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ | @@ -102,6 +103,9 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ | ||
102 | Content: item.Content, | 103 | Content: item.Content, |
103 | SortBy: item.SortBy, | 104 | SortBy: item.SortBy, |
104 | TotalComment: item.TotalComment, | 105 | TotalComment: item.TotalComment, |
106 | + Images: item.Images, | ||
107 | + ParagraphTemplate: core.NewTypesParagraph(item.ParagraphTemplate), | ||
108 | + ParagraphType: item.ParagraphType, | ||
105 | }) | 109 | }) |
106 | }) | 110 | }) |
107 | userIds := lo.Union(resp.WhoRead, resp.WhoReview) | 111 | userIds := lo.Union(resp.WhoRead, resp.WhoReview) |
-
请 注册 或 登录 后发表评论