From 298aef21c344f4abcbe2e879b6babc3dc31a1512 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期五, 28 八月 2020 21:46:35 +0800 Subject: [PATCH] del ids --- EsApi.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/EsApi.go b/EsApi.go index 487198a..8137bc9 100644 --- a/EsApi.go +++ b/EsApi.go @@ -272,7 +272,7 @@ return faceSource, nil } -func GetFaceDataByTimeAndIds(startTime string, endTime string, id string, thresholdTime int, thresholdStayTime int, serverIp string, serverPort string, indexName string) (resData []map[string]interface{}, err error) { +func GetFaceDataByTimeAndId(startTime string, endTime string, id string, thresholdTime int, thresholdStayTime int, serverIp string, serverPort string, indexName string) (resData []map[string]interface{}, err error) { var requestUrl = "http://" + serverIp + ":" + serverPort + "/" + indexName + "/_search" var requestBody = `{ "query": { -- Gitblit v1.8.0