|
@@ -2737,7 +2737,7 @@ func (this *ReportController) SearchReportAndResource() {
|
|
|
mapHot := make(map[string]int)
|
|
|
|
|
|
hotCondition := ` ORDER BY sum_num DESC `
|
|
|
- listHot, err := models.GetThemeHeatList(user.UserId, hotCondition, 0, pageSize)
|
|
|
+ listHot, err := models.GetThemeHeatList(user.UserId, hotCondition, 0, 3)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取信息失败"
|
|
|
br.ErrMsg = "获取品种信息失败,Err:" + err.Error()
|
|
@@ -2759,9 +2759,10 @@ func (this *ReportController) SearchReportAndResource() {
|
|
|
listHzResource[k].IsNew = true
|
|
|
}
|
|
|
}
|
|
|
- if mapHot[v.IndustryName] > 0 {
|
|
|
- listHzResource[k].IsHot = true
|
|
|
- }
|
|
|
+ //弘则资源包不展示hot标签
|
|
|
+ //if mapHot[v.IndustryName] > 0 {
|
|
|
+ // listHzResource[k].IsHot = true
|
|
|
+ //}
|
|
|
listHzResource[k].Source = 1
|
|
|
if fllowMap[v.IndustrialManagementId] > 0 {
|
|
|
listHzResource[k].IsFollw = true
|