فهرست منبع

搜索栏回显内容说明添加

xingzai 2 سال پیش
والد
کامیت
846b39aa74
2فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  1. 5 0
      controllers/report.go
  2. 10 0
      models/report.go

+ 5 - 0
controllers/report.go

@@ -1227,6 +1227,11 @@ func (this *ReportController) IsShow() {
 	if total > 0 {
 		resp.IsShowList = true
 	}
+	resp.SummarySearch = "全局搜索"
+	resp.ReportSearch = "全局搜索"
+	resp.YanXuanSearch = "全局搜索"
+	resp.ActivitySearch = "全局搜索"
+	resp.TabSearch = "请输入关键词"
 	resp.IsShow = true
 	br.Ret = 200
 	br.Success = true

+ 10 - 0
models/report.go

@@ -214,6 +214,16 @@ type IsShow struct {
 	IsShowList      bool   `description:"榜单是否展示"`
 	LinkWxExplain   string `description:"关注微信公众号链接说明地址"`
 	YanXuan_Explain bool   `description:"研选说明"`
+	SummarySearch   string `description:"素材库搜索说明"`
+	ReportSearch    string `description:"报告搜索说明"`
+	YanXuanSearch   string `description:"研选搜索说明"`
+	ActivitySearch  string `description:"活动搜索说明"`
+	TabSearch       string `description:"素材库搜索说明"`
+}
+
+type SearchTxt struct {
+	SearchTxt  string `description:"搜索框所展示的内容"`
+	SearchType string `description:"搜索类型"`
 }
 
 //获取用户是否有查看权限