|
@@ -1732,18 +1732,18 @@ func HandleArticleCategoryImg(list []*models.HomeArticle) (items []*models.HomeA
|
|
|
if list[k].ArticleId >= utils.SummaryArticleId {
|
|
|
list[k].HttpUrl = utils.StrategyPlatform + strconv.Itoa(v.ArticleId)
|
|
|
list[k].IsNeedJump = true
|
|
|
-
|
|
|
- if v.IsReport == 1 {
|
|
|
- list[k].ArticleResponse = 1
|
|
|
- } else if v.ArticleTypeName == "纪要" {
|
|
|
- list[k].ArticleResponse = 2
|
|
|
- } else if v.ArticleTypeName == "观点" {
|
|
|
- list[k].ArticleResponse = 3
|
|
|
- } else if v.ArticleTypeName == "沙龙" {
|
|
|
- list[k].ArticleResponse = 3
|
|
|
- } else if v.ArticleTypeName == "路演精华" {
|
|
|
- list[k].ArticleResponse = 1
|
|
|
- }
|
|
|
+ list[k].ArticleResponse = 1
|
|
|
+ //if v.IsReport == 1 {
|
|
|
+ // list[k].ArticleResponse = 1
|
|
|
+ //} else if v.ArticleTypeName == "纪要" {
|
|
|
+ // list[k].ArticleResponse = 2
|
|
|
+ //} else if v.ArticleTypeName == "观点" {
|
|
|
+ // list[k].ArticleResponse = 3
|
|
|
+ //} else if v.ArticleTypeName == "沙龙" {
|
|
|
+ // list[k].ArticleResponse = 3
|
|
|
+ //} else if v.ArticleTypeName == "路演精华" {
|
|
|
+ // list[k].ArticleResponse = 1
|
|
|
+ //}
|
|
|
}
|
|
|
list[k].Source = 1
|
|
|
//添加行业默认图片
|