This commit is contained in:
laodaming 2023-10-16 15:29:06 +08:00
parent f1afffd198
commit 95b7f1f859

View File

@ -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索引便于通过用户查询