{code: "0d3EaV000Oeg7Q1OIU000a4EJ04EaV0X", encryptedData: "6mMgBlFsnAU8dgCGFsYS8t6dxM1umGNSZmsKLTPWoh2QFezg6X…Mg1MhhU6u2IlcmNRkqgp6rFB2CtSDAIkeeSAitVZV3kdUyw==", iv: "K3+x9a+zKlTm8WLw4/N+ng==", rawData: "{"nickName":"微信用户","gender":0,"language":"","city"…GKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132"}", signature: "cff89d6d688a7c1c46be02b4dbc9097aa0d18ce0"} code: "0d3EaV000Oeg7Q1OIU000a4EJ04EaV0X" encryptedData: "6mMgBlFsnAU8dgCGFsYS8t6dxM1umGNSZmsKLTPWoh2QFezg6XUUCdrxhpkgNb3idWCop6/R4vZ95vx7o1sM3nfCw7FGZHQe8oJc1RQLsv2pWVutHTyk65DH8nODyFKP+PJejs4ZeOdc5ZdWL//5DGAT/PObjCbMPHBXZEMaUNKHGKXxnsIPAcKCUC+PTHWK/zBP6h0PhDpm/QFITDrNOjoRnRlsW8L90U7kmw0ZL3vD+Sl6A2nlwlrF4MTQOZcOWdx92xkih+5shomxLQboMU7IgEjw59NaUqerXmoT6VG2/GPIVQYXUn+NMi0+xm6bwEkDvykwU5oU2omJDHTxVJjHDOaqQ8MyFA3JKne6Isj9BnX4sfw8I61umWYWzUHcFVPYfFOtvj7Xjf6qyKbiPjxo3y44sa96mAJ1V0kMg1MhhU6u2IlcmNRkqgp6rFB2CtSDAIkeeSAitVZV3kdUyw==" iv: "K3+x9a+zKlTm8WLw4/N+ng==" rawData: "{"nickName":"微信用户","gender":0,"language":"","city":"","province":"","country":"","avatarUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132"}" signature: "cff89d6d688a7c1c46be02b4dbc9097aa0d18ce0" __proto__: Object
时间: 2023-07-12 18:04:11 浏览: 235
eav:Laravel Artisan的实体-属性-价值模型(EAV)
这是一个包含用户信息的对象,其中包括:
- code: 用户登录凭证(code)
- encryptedData: 包括用户敏感数据(如:手机号、邮箱、地址等),需进行解密才能获取
- iv: 加密算法的初始向量,需与encryptedData一起使用解密算法才能获取到明文
- rawData: 不包括敏感信息的原始数据字符串,可以直接使用
- signature: 使用 sha1( rawData + sessionkey ) 得到字符串,用于校验用户信息是否被篡改过
这些信息通常用于小程序中用户的登录和授权等操作。
阅读全文