Browse Source

增加代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 3 years ago
parent
commit
b7aefa3f63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/search.go

+ 1
- 1
routers/search.go View File

@@ -33,7 +33,7 @@ func InitESClient() {
func Search(ctx *context.Context) {
keyword := strings.Trim(ctx.Query("q"), " ")
ctx.Data["keyword"] = keyword
ctx.HTML(200, "/explore/search_new.tmpl")
ctx.HTML(200, "explore/search_new.tmpl")
}

func SearchApi(ctx *context.Context) {


Loading…
Cancel
Save