From e371ea3479d0f9c1a89ea04ac25fe49ee7154a50 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期日, 28 六月 2020 11:10:19 +0800
Subject: [PATCH] fix url

---
 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