Commit d59313be authored by suhuiguang's avatar suhuiguang

1.certType有aes加密调整未base64编码,微信扫码调试,修改注释

parent 725bc0d7
......@@ -44,11 +44,11 @@ public class CertDetailServiceImpl {
}
private void setDefaultFieldForOld(CertInfoRequestParam requestParam) {
// 兼容老数据,默认版本号为1 aes 加密
// 兼容老数据,默认版本号为1 aes加密
if (StringUtils.isBlank(requestParam.getVersion())) {
requestParam.setVersion(AESUtil.encrypt("1"));
}
// 兼容老数据,默认类型为使用登记证,扩展预览字段 base64
// 兼容老数据,默认类型为使用登记证,扩展预览字段 base64编码
if (StringUtils.isBlank(requestParam.getCertType())) {
requestParam.setCertType(Base64Encoder.encode("useCert", StandardCharsets.UTF_8));
}
......
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