From f6d71fa2c9e24c337d34b2c6d1b481ce3a3c622e Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 08 十月 2019 11:20:10 +0800 Subject: [PATCH] 查找此人不走提取,通过id获取特征 --- controllers/tasklist.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/tasklist.go b/controllers/tasklist.go index e6e9e64..c616f1c 100644 --- a/controllers/tasklist.go +++ b/controllers/tasklist.go @@ -24,7 +24,7 @@ // @Router /data/api-v/es/tagList [POST] func (sc *EsSearchController) PostEsTaskList(c *gin.Context) { localConf, err2 := cache.GetServerInfo() - if err2 !=nil || localConf.AlarmIp == "" { + if err2 !=nil || localConf.AlarmIp == "" || localConf.ServerId == "" { logger.Debug("localConfig is wrong!!!") util.ResponseFormat(c,code.ComError,"localConf wrong") return -- Gitblit v1.8.0