From 1e24626fa58f488f7744ce94e88a650f05c7a749 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 08 八月 2019 18:53:38 +0800 Subject: [PATCH] add log --- extend/esutil/EsClient.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extend/esutil/EsClient.go b/extend/esutil/EsClient.go index e2e8a05..bd8a28f 100644 --- a/extend/esutil/EsClient.go +++ b/extend/esutil/EsClient.go @@ -44,7 +44,7 @@ sources := []interface{}{} for _, value := range dat["hits"].([]interface{}) { source := value.(map[string]interface{})["_source"].(map[string]interface{}) - source["id"] = value.(map[string]interface{})["_id"] + //source["id"] = source["id"] /*sdkType := source["sdkType"] if sdkType != nil { sdk, _ := strconv.Atoi(sdkType.(string)) -- Gitblit v1.8.0