Răsfoiți Sursa

研选说明回显

xingzai 2 ani în urmă
părinte
comite
55cb8717d9
3 a modificat fișierele cu 11 adăugiri și 5 ștergeri
  1. 1 0
      controllers/report.go
  2. 6 5
      models/report.go
  3. 4 0
      utils/constants.go

+ 1 - 0
controllers/report.go

@@ -1152,6 +1152,7 @@ func (this *ReportController) IsShow() {
 		resp.IsShow = true
 	}
 	resp.LinkWxExplain = utils.LINK_WX_EXPLAIN
+	resp.YanXuan_Explain = true
 	br.Ret = 200
 	br.Success = true
 	br.Data = resp

+ 6 - 5
models/report.go

@@ -203,11 +203,12 @@ func GetWhichDepartmentCount(condition string) (count int, err error) {
 }
 
 type IsShow struct {
-	IsShow         bool   `description:"是否展示"`
-	IsShowResearch bool   `description:"研选是否展示限免"`
-	IsShowChart    bool   `description:"图表是否展示限免"`
-	IsShowList     bool   `description:"榜单是否展示"`
-	LinkWxExplain  string `description:"关注微信公众号链接说明地址"`
+	IsShow          bool   `description:"是否展示"`
+	IsShowResearch  bool   `description:"研选是否展示限免"`
+	IsShowChart     bool   `description:"图表是否展示限免"`
+	IsShowList      bool   `description:"榜单是否展示"`
+	LinkWxExplain   string `description:"关注微信公众号链接说明地址"`
+	YanXuan_Explain bool   `description:"研选说明"`
 }
 
 //获取用户是否有查看权限

+ 4 - 0
utils/constants.go

@@ -94,3 +94,7 @@ const (
 const (
 	CHART_INFO_HTTP_URL = "https://vmp.hzinsights.com/v2/charts/"
 )
+
+const (
+	YAN_XUAN__EXPLAIN = "买方研选内容实行阶段,限时免费。也欢迎您向我们提宝贵建议。"
+)