Browse Source

修改报告标题

rdluck 4 years ago
parent
commit
c37892cb83
2 changed files with 4 additions and 4 deletions
  1. 1 1
      controllers/home.go
  2. 3 3
      controllers/report.go

+ 1 - 1
controllers/home.go

@@ -36,7 +36,7 @@ func (this *HomeController) ListHome() {
 	for i := 0; i < len(list); i++ {
 		item := list[i]
 		if item.ClassifyName == "权益研报" {
-			list[i].TitleType = "权益"
+			list[i].TitleType = "图说逻辑"
 		} else {
 			list[i].TitleType = "FICC"
 		}

+ 3 - 3
controllers/report.go

@@ -139,7 +139,7 @@ func (this *ReportController) Detail() {
 	}
 
 	if report.ClassifyNameFirst == "权益研报" {
-		report.TitleType = "权益"
+		report.TitleType = "图说逻辑"
 	} else {
 		report.TitleType = "FICC"
 	}
@@ -188,7 +188,7 @@ func (this *ReportController) Detail() {
 			recommendList[i].HasPermission = 1
 		}
 		if item.ClassifyNameFirst == "权益研报" {
-			recommendList[i].TitleType = "权益"
+			recommendList[i].TitleType = "图说逻辑"
 		} else {
 			recommendList[i].TitleType = "FICC"
 		}
@@ -268,7 +268,7 @@ func (this *ReportController) ListReport() {
 		}
 
 		if item.ClassifyNameFirst == "权益研报" {
-			list[i].TitleType = "权益"
+			list[i].TitleType = "图说逻辑"
 		} else {
 			list[i].TitleType = "FICC"
 		}