Selaa lähdekoodia

首页行业报告标题修改

renjiaojiao 1 vuosi sitten
vanhempi
commit
92fc69ce05
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/jfw/front/index.go

+ 2 - 2
src/jfw/front/index.go

@@ -584,11 +584,11 @@ func formatRow(row map[string]interface{}, isDetail ...bool) *InfoList {
 	case 1: //1周报
 	case 1: //1周报
 		year, week := showTime.ISOWeek()
 		year, week := showTime.ISOWeek()
 		expandMap["year"], expandMap["date"] = year, week
 		expandMap["year"], expandMap["date"] = year, week
-		title = fmt.Sprintf("%s%s%d年第%d周行业分析", common.If(bl.Area == "", "全国", bl.Area), bl.Industry, year, week)
+		title = fmt.Sprintf("%s%s行业%d年第%d周市场分析简报", common.If(bl.Area == "", "全国", bl.Area), bl.Industry, year, week)
 	case 2: //2月报
 	case 2: //2月报
 		year, month := showTime.Year(), int(showTime.Month())
 		year, month := showTime.Year(), int(showTime.Month())
 		expandMap["year"], expandMap["date"] = year, month
 		expandMap["year"], expandMap["date"] = year, month
-		title = fmt.Sprintf("%s%s%d年%d月行业分析", common.If(bl.Area == "", "全国", bl.Area), bl.Industry, year, month)
+		title = fmt.Sprintf("%s%s行业%d年%d月份市场分析简报", common.If(bl.Area == "", "全国", bl.Area), bl.Industry, year, month)
 	}
 	}
 	bl.Title = title
 	bl.Title = title
 	if len(isDetail) > 0 {
 	if len(isDetail) > 0 {