Commit b4d1a7f3 authored by suhuiguang's avatar suhuiguang

1.扫码联调自测

parent 491da588
...@@ -26,11 +26,10 @@ public class AESUtil { ...@@ -26,11 +26,10 @@ public class AESUtil {
} }
public static String encrypt(String data) { public static String encrypt(String data) {
return getInstance().aes.encryptHex(data); return getInstance().aes.encryptBase64(data);
} }
public static String decrypt(String data) { public static String decrypt(String data) {
// 不能使用base64,base64后参数有= 导致参数解析失败
return getInstance().aes.decryptStr(data, StandardCharsets.UTF_8); return getInstance().aes.decryptStr(data, StandardCharsets.UTF_8);
} }
......
...@@ -953,9 +953,9 @@ public class CommonServiceImpl implements ICommonService { ...@@ -953,9 +953,9 @@ public class CommonServiceImpl implements ICommonService {
return qrcodePrefix + return qrcodePrefix +
"?certNo=" + "?certNo=" +
certNoEncrypt + certNoEncrypt +
"certType=" + "&certType=" +
certTypeEncrypt + certTypeEncrypt +
"version=" + "&version=" +
versionEncrypt; versionEncrypt;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment