fix
This commit is contained in:
parent
79ce15a92a
commit
379230dd39
|
@ -225,12 +225,6 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
|
||||||
},
|
},
|
||||||
debug: userInfo.Debug,
|
debug: userInfo.Debug,
|
||||||
}
|
}
|
||||||
//先设置下debug(后面要删掉)
|
|
||||||
ws.debug = &auth.Debug{
|
|
||||||
Exp: &userInfo.Exp,
|
|
||||||
IsCache: 1,
|
|
||||||
IsAllTemplateTag: 0,
|
|
||||||
}
|
|
||||||
//保存连接
|
//保存连接
|
||||||
mapConnPool.Store(uniqueId, ws)
|
mapConnPool.Store(uniqueId, ws)
|
||||||
//非白板用户,需要为这个用户建立map索引便于通过用户查询
|
//非白板用户,需要为这个用户建立map索引便于通过用户查询
|
||||||
|
|
Loading…
Reference in New Issue
Block a user