Commit b4d1a7f3 authored by suhuiguang's avatar suhuiguang

1.扫码联调自测

parent 491da588
......@@ -26,11 +26,10 @@ public class AESUtil {
}
public static String encrypt(String data) {
return getInstance().aes.encryptHex(data);
return getInstance().aes.encryptBase64(data);
}
public static String decrypt(String data) {
// 不能使用base64,base64后参数有= 导致参数解析失败
return getInstance().aes.decryptStr(data, StandardCharsets.UTF_8);
}
......
......@@ -953,9 +953,9 @@ public class CommonServiceImpl implements ICommonService {
return qrcodePrefix +
"?certNo=" +
certNoEncrypt +
"certType=" +
"&certType=" +
certTypeEncrypt +
"version=" +
"&version=" +
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