ws判断用户存在

pull/23/head
陶士涵 4 years ago
parent 361b1c80ff
commit 7dc130b616

@ -243,6 +243,7 @@ func singleBroadcaster(){
vistorInfo:=models.FindVisitorByVistorId(clientMsg.VisitorId)
if vistorInfo.VisitorId==""{
SendNotice("访客数据不存在",conn)
continue
}
//用户id对应的连接
user:=&vistor{

Loading…
Cancel
Save