From aa26c2c62693dcf7e8484fbc831e67b040db2fa0 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期六, 06 六月 2020 14:45:28 +0800 Subject: [PATCH] update token --- controllers/taglist.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/taglist.go b/controllers/taglist.go index 2f3c5d9..689dae7 100644 --- a/controllers/taglist.go +++ b/controllers/taglist.go @@ -62,7 +62,7 @@ return false } url := "http://" + localConf.AlarmIp + ":" + strconv.Itoa(int(localConf.AlarmPort)) + - "/" + config.EsInfo.EsIndex.VideoPersons.IndexName + "/_search" + "/" + config.EsInfo.EsIndex.AiOcean.IndexName + "/_search" prama := "{\"query\":{\"bool\":{\"filter\":[{\"term\":{\"baseInfo.tableId\":\"" + id + "\"}}]}},\"size\":0}" buf, err := esutil.EsReq("POST", url, []byte(prama)) if err != nil { -- Gitblit v1.8.0