作者 yangfu

fix: 封面

@@ -68,7 +68,7 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ @@ -68,7 +68,7 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ
68 Tags: make([]types.ArticleTagItem, 0), 68 Tags: make([]types.ArticleTagItem, 0),
69 TargetUser: int(article.TargetUser), 69 TargetUser: int(article.TargetUser),
70 Videos: make([]types.Video, 0), 70 Videos: make([]types.Video, 0),
71 - Cover: article.Cover, 71 + Cover: article.GetCover(),
72 } 72 }
73 73
74 for _, val := range article.Videos { 74 for _, val := range article.Videos {
@@ -93,7 +93,7 @@ func (l *SystemSearchArticleLogic) SystemSearchArticle(req *types.SystemArticleS @@ -93,7 +93,7 @@ func (l *SystemSearchArticleLogic) SystemSearchArticle(req *types.SystemArticleS
93 Id: item.Operator.Id, 93 Id: item.Operator.Id,
94 Name: item.Operator.Name, 94 Name: item.Operator.Name,
95 }, 95 },
96 - Cover: item.Cover, 96 + Cover: item.GetCover(),
97 }) 97 })
98 }) 98 })
99 return 99 return