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/task.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/task.go b/controllers/task.go
index 4f2dd14..8c2e205 100644
--- a/controllers/task.go
+++ b/controllers/task.go
@@ -102,7 +102,7 @@
 			//澶勭悊宸茶鍒犻櫎鐨勪换鍔�
 			localConf, _ := cache.GetServerInfo()
 			if localConf.AlarmIp != "" && localConf.ServerId != "" && localConf.AlarmPort>0 {
-				indexName := config.EsInfo.EsIndex.VideoPersons.IndexName + "," + config.EsInfo.EsIndex.Personaction.IndexName
+				indexName := config.EsInfo.EsIndex.AiOcean.IndexName
 				esTaskM, e := esutil.AggregateTaskList(localConf.AlarmIp, strconv.Itoa(int(localConf.AlarmPort)), indexName, localConf.ServerId)
 				if e==nil && esTaskM !=nil {
 					for _,tM :=range esTaskM {

--
Gitblit v1.8.0