From 742b46bb27741c724a66d2284a2bffa8cd6d0cb6 Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 7 Jan 2022 11:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/search.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/search.go b/routers/search.go index 2edb510c6..30c35d4cb 100644 --- a/routers/search.go +++ b/routers/search.go @@ -443,6 +443,8 @@ func searchIssue(ctx *context.Context, TableName string, Key string, Page int, P boolQ.Must(isIssueQuery) res, err := client.Search(TableName).Query(boolQ).Sort(SortBy, ascending).From((Page - 1) * PageSize).Size(PageSize).Do(ctx.Req.Context()) if err == nil { + searchJson, _ := json.Marshal(res) + log.Info("searchJson=" + string(searchJson)) result := makeIssueResult(res, Key) ctx.JSON(200, result) } else {