From b7816d3ae7162d8d7c0a1fb0380647fa4440ac1b Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 07 十一月 2019 20:01:26 +0800
Subject: [PATCH] fix nodeType

---
 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