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