|
@@ -743,6 +743,15 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
+ // 以下分类图标特殊处理 =_=!
|
|
|
+ reportImgMap := map[string]string{
|
|
|
+ "晨报": "report_list_chen.png",
|
|
|
+ "周报": "report_list_zhou.png",
|
|
|
+ "月报": "report_list_yue.png",
|
|
|
+ "大事点评": "report_list_dashidianping.png",
|
|
|
+ "会议纪要": "report_list_huiyijiyao.png",
|
|
|
+ "年报合集": "report_list_nianbaoheji.png",
|
|
|
+ }
|
|
|
for _, reportInfo := range list {
|
|
|
reportItem := new(response.ReportListItem)
|
|
|
reportItem.ReportId = reportInfo.Id
|
|
@@ -769,6 +778,9 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
|
|
|
} else if url, ok := permissionImageMap[reportInfo.ClassifyNameSecond]; ok {
|
|
|
reportItem.ReportImgUrl = utils.ALIYUN_YBIMG_HOST + url
|
|
|
}
|
|
|
+ if img, ok := reportImgMap[reportInfo.ClassifyNameFirst]; ok {
|
|
|
+ reportItem.ReportImgUrl = utils.ALIYUN_YBIMG_HOST + img
|
|
|
+ }
|
|
|
|
|
|
if classifyParent.ClassifyName == "晨报" && productAuthOk {
|
|
|
// 查询当前晨报的所有音频
|