From 69267f038f87f411edb92daed0ae67d93ca6c5fd Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期五, 02 八月 2019 10:09:36 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- service/EnableStatusControlService.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/EnableStatusControlService.go b/service/EnableStatusControlService.go index 7206b0b..c9e1ff5 100644 --- a/service/EnableStatusControlService.go +++ b/service/EnableStatusControlService.go @@ -19,7 +19,7 @@ "/" + config.EsInfo.EsIndex.DbTables.IndexName + "/_search" var setApi dbapi.SysSetApi _, sysconf := setApi.GetServerInfo() - jsonDsl := `{ + jsonDSL := `{ "query": { "bool": { "filter": [{ @@ -38,7 +38,7 @@ "size": 10000 } ` - buf, err := esutil.EsReq("POST", url, []byte(jsonDsl)) + buf, err := esutil.EsReq("POST", url, []byte(jsonDSL)) if err != nil { logger.Debug(err) } -- Gitblit v1.8.0