fix
This commit is contained in:
parent
d93b009816
commit
7cc1addfe4
|
@ -186,7 +186,7 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
|
||||||
//解析传入的wid是不是属于自己的用户的
|
//解析传入的wid是不是属于自己的用户的
|
||||||
decryptionWid, err := encryption_decryption.CBCDecrypt(oldWid)
|
decryptionWid, err := encryption_decryption.CBCDecrypt(oldWid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err, ":", oldWid)
|
||||||
return wsConnectItem{}, errors.New("解码wid失败")
|
return wsConnectItem{}, errors.New("解码wid失败")
|
||||||
}
|
}
|
||||||
lendecryptionWid := len(decryptionWid)
|
lendecryptionWid := len(decryptionWid)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user