|
@@ -567,16 +567,9 @@ func (this *UserController) CollectList() {
|
|
|
list[i].Pv = mapArticleCollectNum[article.ArticleId].Pv
|
|
|
list[i].IsCollect = mapArticleCollectNum[article.ArticleId].IsCollect
|
|
|
}
|
|
|
- if _, ok := lyjhTypeMap[item.CategoryId]; ok {
|
|
|
+ if _, ok := lyjhTypeMap[item.CategoryId]; ok && list[i].ArticleId >= utils.SummaryArticleId {
|
|
|
list[i].IsRoadShow = true
|
|
|
}
|
|
|
- //list[i].TitleEn = article.TitleEn
|
|
|
- //list[i].UpdateFrequency = article.UpdateFrequency
|
|
|
- //list[i].CreateDate = article.CreateDate
|
|
|
- //list[i].Body, _ = services.GetReportContentTextSub(article.Body)
|
|
|
- //list[i].Abstract = article.Abstract
|
|
|
- //list[i].CategoryName = article.CategoryName
|
|
|
- //list[i].SubCategoryName = article.SubCategoryName
|
|
|
}
|
|
|
page := paging.GetPaging(currentIndex, pageSize, total)
|
|
|
resp.List = list
|