liuxiaolong
2019-10-26 86655db5ef2cca9d7cf4eedae879c3a7c4464b9f
func GetAllLocalVideopersonsId get all when analyServerId is null
1个文件已修改
8 ■■■■ 已修改文件
EsApi.go 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
EsApi.go
@@ -327,12 +327,12 @@
    //使用es底层机制处理分页
    analyServerFilterStr := ""
    analyServerId := compareArgs.AnalyServerId
    if analyServerId == "" {
        fmt.Println("no analyServerId")
        return
    if analyServerId != "" {
        analyServerFilterStr = "{\"term\":{\"analyServerId\":\"" + analyServerId + "\"}},"
    }
    analyServerFilterStr := "{\"term\":{\"analyServerId\":\"" + analyServerId + "\"}},"
    //首次请求头
    url := "http://" + serverIp + ":" + serverPort +