Ver Fonte

Merge branch 'bzq1/monitor_custom' of eta_server/eta_api into debug

鲍自强 há 7 meses atrás
pai
commit
84c15e0fbd
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      controllers/edb_monitor/edb_monitor_message.go

+ 2 - 0
controllers/edb_monitor/edb_monitor_message.go

@@ -124,6 +124,8 @@ func (m *EdbMonitorMessageController) Connect() {
 		ok = utils.Rc.IsExist(connKey)
 		if !ok {
 			br.Msg = "连接已断开"
+			br.Ret = 200
+			br.Success = true
 			return
 		}
 		time.Sleep(10 * time.Second)