From b10a806cbdf05c2e000f33ef82a501b07b3bb1b6 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期日, 19 一月 2020 17:13:48 +0800 Subject: [PATCH] update _source list and struct --- controllers/capture.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/controllers/capture.go b/controllers/capture.go index 9d438a3..fd70180 100644 --- a/controllers/capture.go +++ b/controllers/capture.go @@ -72,5 +72,6 @@ "\"size\":\"1000\"," + "\"_source\":{\"includes\":[],\"excludes\":[\"*.feature\"]}}" tokenRes := esutil.GetEsDataReq(url, prama, true) - util.ResponseFormat(c, code.Success, tokenRes) + tmpAllDate := esutil.ResponseData(tokenRes) + util.ResponseFormat(c, code.Success, tmpAllDate) } -- Gitblit v1.8.0