Browse Source

no message

xingzai 3 years ago
parent
commit
0f0fa47e34
1 changed files with 4 additions and 3 deletions
  1. 4 3
      controllers/report.go

+ 4 - 3
controllers/report.go

@@ -2026,7 +2026,7 @@ func (this *ReportController) IndustryListByDepartmentPc() {
 			} else {
 				artList[k2].Title = v2.Title
 			}
-			artList[k2].IndustryName = strings.Replace(artList[k2].Title, " ", "", -1)
+			artList[k2].IndustryName = strings.Replace(artList[k2].IndustryName, " ", "", -1)
 		}
 		list[k].List = artList
 		if v.FollowNum > 0 {
@@ -2146,10 +2146,11 @@ func (this *ReportController) IndustryAndArticleListPc() {
 				}
 				for k2, v2 := range artList {
 					if artList[k2].IsReport == "1" {
-						artList[k2].Title = "【研选观点】" + v2.Title
+						artList[k2].Title = v2.Title
 					} else {
-						artList[k2].Title = "【研选纪要】" + v2.Title
+						artList[k2].Title = v2.Title
 					}
+					artList[k2].IndustryName = strings.Replace(artList[k2].IndustryName, " ", "", -1)
 				}
 				DepartmentList[k].List = artList
 				if v.FollowNum > 0 {