From 7dc130b616de888cd6b50620e53d4b255aef29be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B6=E5=A3=AB=E6=B6=B5?= <630892807@qq.com> Date: Thu, 24 Sep 2020 21:34:50 +0800 Subject: [PATCH] =?UTF-8?q?ws=E5=88=A4=E6=96=AD=E7=94=A8=E6=88=B7=E5=AD=98?= =?UTF-8?q?=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/chat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/chat.go b/controller/chat.go index b6e811a..2942dc1 100644 --- a/controller/chat.go +++ b/controller/chat.go @@ -243,6 +243,7 @@ func singleBroadcaster(){ vistorInfo:=models.FindVisitorByVistorId(clientMsg.VisitorId) if vistorInfo.VisitorId==""{ SendNotice("访客数据不存在",conn) + continue } //用户id对应的连接 user:=&vistor{