From b23fff5d2c359b66866294d9e11fed41a734d6a1 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期五, 28 八月 2020 19:58:40 +0800
Subject: [PATCH] update func name

---
 EsApi.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/EsApi.go b/EsApi.go
index 4849041..49bd181 100644
--- a/EsApi.go
+++ b/EsApi.go
@@ -180,7 +180,7 @@
 
 /*******************sort []map util*******************/
 //鏍规嵁鏃堕棿鑼冨洿鑱氬悎鎵�鏈夊尯鍩熶汉淇℃伅锛岃繑鍥炲浐瀹氭潯鏁�
-func GetFaceDataByTimeAnd(startTime string, total int, thresholdTime int, thresholdStayTime int, serverIp string, serverPort string, indexName string) (resData []map[string]interface{}, err error) {
+func GetFaceDataByTimeAndTotal(startTime string, total int, 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