sunty
2020-08-28 b23fff5d2c359b66866294d9e11fed41a734d6a1
update func name
1个文件已修改
2 ■■■ 已修改文件
EsApi.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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": {