|
@@ -558,8 +558,13 @@ func HandleIndustryList(list []*models.IndustrialManagement, user *models.WxUser
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ hotMapindustrial, err := IndustrialManagementHotMapGropuPermission()
|
|
|
+ if err != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
for k, v := range list {
|
|
|
list[k].UpdateTime = utils.TimeRemoveHms(mapUPdateTime[v.IndustrialManagementId])
|
|
|
+ list[k].IsHot = hotMapindustrial[v.IndustrialManagementId]
|
|
|
if userId > 0 {
|
|
|
//如果文章没有阅读,而且,文章的发布时间晚于项目的上线时间,而且文章的发布时间晚于用户的注册时间,就进行标红处理
|
|
|
if mapHistroyindustrialId[v.IndustrialManagementId] == 0 || timeLineRedMap[v.IndustrialManagementId] {
|