diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index c15caf01..1d5ab841 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -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)