From 7c811247ecf143e08c576986a884bedadc57dd66 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期五, 05 六月 2020 18:29:41 +0800
Subject: [PATCH] add refresh token to resp

---
 controllers/taglist.go |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/controllers/taglist.go b/controllers/taglist.go
index 519fbea..689dae7 100644
--- a/controllers/taglist.go
+++ b/controllers/taglist.go
@@ -15,6 +15,7 @@
 	"github.com/gin-gonic/gin"
 )
 
+// @Security ApiKeyAuth
 // @Summary 鏍囩鍒楄〃
 // @Description 杩斿洖搴曞簱鏍囩
 // @Accept  json
@@ -61,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