From 551df14cf2c5036009eb8bf0c4fd5c1ede2a682c Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 20 九月 2019 20:23:29 +0800 Subject: [PATCH] user edit --- service/CameraVideoService.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/CameraVideoService.go b/service/CameraVideoService.go index 2725d03..8a158f2 100644 --- a/service/CameraVideoService.go +++ b/service/CameraVideoService.go @@ -14,7 +14,7 @@ // 鍦板簱浜哄憳鏁版嵁 涓� 姣斿鍋氬噯澶� func QueryDbPersonsForCompare(reqBody models.EsSearch) map[string]interface{} { localConf, err2 := cache.GetServerInfo() - if err2 !=nil || localConf.AlarmIp == "" { + if err2 !=nil || localConf.AlarmIp == "" || localConf.ServerId == "" { logger.Debug("localConfig is wrong!!!") return nil } -- Gitblit v1.8.0