...
|
...
|
@@ -102,6 +102,10 @@ func (l *MiniGetArticleLogic) MiniGetArticle(req *types.MiniArticleGetRequest) ( |
|
|
articleSection := []types.ArticleSection{}
|
|
|
|
|
|
for _, val := range sortBy {
|
|
|
|
|
|
paragraphTemplate := core.NewTypesParagraph(val.ParagraphTemplate)
|
|
|
paragraphTemplate.Images = val.Images
|
|
|
paragraphTemplate.Text = val.Content
|
|
|
articleSection = append(articleSection, types.ArticleSection{
|
|
|
Id: val.Id,
|
|
|
Content: val.Content,
|
...
|
...
|
|