From 1afa5b031e2f13a2b93adc99d292cdeb2ba2a6dd Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期二, 11 二月 2020 18:30:55 +0800 Subject: [PATCH] add clearData --- 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