This commit is contained in:
laodaming 2023-10-11 19:01:48 +08:00
parent d93b009816
commit 7cc1addfe4

View File

@ -186,7 +186,7 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
//解析传入的wid是不是属于自己的用户的
decryptionWid, err := encryption_decryption.CBCDecrypt(oldWid)
if err != nil {
logx.Error(err)
logx.Error(err, ":", oldWid)
return wsConnectItem{}, errors.New("解码wid失败")
}
lendecryptionWid := len(decryptionWid)