作者 yangfu

Merge branch 'dev' into test

@@ -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,