fix
This commit is contained in:
parent
f1afffd198
commit
95b7f1f859
|
@ -224,6 +224,9 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
|
|||
},
|
||||
openDebug: true, //默认都开debug
|
||||
}
|
||||
if userInfo.UserId == 127 {
|
||||
ws.openDebug = false
|
||||
}
|
||||
//保存连接
|
||||
mapConnPool.Store(uniqueId, ws)
|
||||
//非白板用户,需要为这个用户建立map索引便于通过用户查询
|
||||
|
|
Loading…
Reference in New Issue
Block a user