尝试解决无法base64解析错误
This commit is contained in:
parent
7aa2c05d92
commit
4dc5950191
@ -310,7 +310,7 @@ public class ConnectServiceImpl extends ServiceImpl<ConnectMapper, Connect> impl
|
|||||||
*/
|
*/
|
||||||
public JSONObject getUserInfo(String encryptedData, String sessionKey, String iv) {
|
public JSONObject getUserInfo(String encryptedData, String sessionKey, String iv) {
|
||||||
//被加密的数据
|
//被加密的数据
|
||||||
byte[] dataByte = Base64.getDecoder().decode(encryptedData);
|
byte[] dataByte = Base64.getDecoder().decode(encryptedData.replace("\r\n", ""));
|
||||||
//加密秘钥
|
//加密秘钥
|
||||||
byte[] keyByte = Base64.getDecoder().decode(sessionKey);
|
byte[] keyByte = Base64.getDecoder().decode(sessionKey);
|
||||||
//偏移量
|
//偏移量
|
||||||
|
Loading…
x
Reference in New Issue
Block a user