This commit is contained in:
laodaming 2023-10-31 15:23:01 +08:00
parent 8c026be22d
commit ef53f59551

View File

@ -238,12 +238,12 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
debug: userInfo.Debug, debug: userInfo.Debug,
} }
//********强制开启debug 后面删掉 //********强制开启debug 后面删掉
e := int64(1700359131) /*e := int64(1700359131)
ws.debug = &auth.Debug{ ws.debug = &auth.Debug{
Exp: &e, Exp: &e,
IsCache: 1, IsCache: 1,
IsAllTemplateTag: 0, IsAllTemplateTag: 0,
} }*/
//保存连接 //保存连接
mapConnPool.Store(uniqueId, ws) mapConnPool.Store(uniqueId, ws)
//非白板用户需要为这个用户建立map索引便于通过用户查询 //非白板用户需要为这个用户建立map索引便于通过用户查询