|
@@ -89,6 +89,11 @@ func HandleIndustryList(list []*models.IndustrialManagement, user *models.WxUser
|
|
|
fllowMap[v.IndustrialManagementId] = v.IndustrialManagementId
|
|
|
}
|
|
|
}
|
|
|
+ mapindustrialId, e := GetMicroRoadshowVideoMap()
|
|
|
+ if e != nil {
|
|
|
+ err = e
|
|
|
+ return
|
|
|
+ }
|
|
|
//合并产业关联的标的
|
|
|
listSubjcet, err := models.GetThemeHeatSubjectList("")
|
|
|
if err != nil {
|
|
@@ -101,6 +106,9 @@ func HandleIndustryList(list []*models.IndustrialManagement, user *models.WxUser
|
|
|
list[k].IsFollow = true
|
|
|
}
|
|
|
industrialIdArr = append(industrialIdArr, v.IndustrialManagementId)
|
|
|
+ if _, ok := mapindustrialId[v.IndustrialManagementId]; !ok {
|
|
|
+ continue
|
|
|
+ }
|
|
|
videoSimple, au, e := GetindustryVideo(user, v.IndustrialManagementId)
|
|
|
if e != nil {
|
|
|
err = errors.New("获取产业关联的视频失败,GetindustryVideo " + e.Error())
|