@@ -628,7 +628,11 @@ func ActivityDetaailShow(activityInfo *models.ActivityListResp) (itemActivity *m
err = e
return
}
- activityInfo.ArticleList = artList
+ if len(artList) == 0 {
+ activityInfo.ArticleList = make([]*models.ActivityArticleResp, 0)
+ } else {
+ activityInfo.ArticleList = artList
+ }
} else {
activityInfo.ArticleList = make([]*models.ActivityArticleResp, 0)