Browse Source

提交代码。

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

+ 2
- 1
routers/search.go View File

@@ -111,8 +111,9 @@ func searchRepoByLabel(ctx *context.Context, Key string, Page int, PageSize int)
log.Info("query es error," + err.Error()) log.Info("query es error," + err.Error())
ctx.JSON(200, "") ctx.JSON(200, "")
} }
} else {
ctx.JSON(200, "")
} }
ctx.JSON(200, "")
} }


func searchRepo(ctx *context.Context, TableName string, Key string, Page int, PageSize int, OnlyReturnNum bool) { func searchRepo(ctx *context.Context, TableName string, Key string, Page int, PageSize int, OnlyReturnNum bool) {


Loading…
Cancel
Save