正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -102,6 +102,10 @@ func (l *MiniGetArticleLogic) MiniGetArticle(req *types.MiniArticleGetRequest) ( | @@ -102,6 +102,10 @@ func (l *MiniGetArticleLogic) MiniGetArticle(req *types.MiniArticleGetRequest) ( | ||
102 | articleSection := []types.ArticleSection{} | 102 | articleSection := []types.ArticleSection{} |
103 | 103 | ||
104 | for _, val := range sortBy { | 104 | for _, val := range sortBy { |
105 | + | ||
106 | + paragraphTemplate := core.NewTypesParagraph(val.ParagraphTemplate) | ||
107 | + paragraphTemplate.Images = val.Images | ||
108 | + paragraphTemplate.Text = val.Content | ||
105 | articleSection = append(articleSection, types.ArticleSection{ | 109 | articleSection = append(articleSection, types.ArticleSection{ |
106 | Id: val.Id, | 110 | Id: val.Id, |
107 | Content: val.Content, | 111 | Content: val.Content, |
-
请 注册 或 登录 后发表评论