From b0500fee9c01e17c81b9293b244c8ed88dc9ca29 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 11 十月 2019 15:12:25 +0800 Subject: [PATCH] add swagger --- controllers/dbtableperson.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/dbtableperson.go b/controllers/dbtableperson.go index ac89321..0f7ea9b 100644 --- a/controllers/dbtableperson.go +++ b/controllers/dbtableperson.go @@ -313,7 +313,7 @@ func UpdateDbPersonsOfDbTable(id string) (message string) { localConf, err2 := cache.GetServerInfo() - if err2 !=nil || localConf.AlarmIp == "" { + if err2 !=nil || localConf.AlarmIp == "" || localConf.ServerId == "" { logger.Debug("localConfig is wrong!!!") return "淇敼澶辫触" } -- Gitblit v1.8.0