Commit 06640090 authored by AfirSraftGarrier's avatar AfirSraftGarrier

配置文件中的明文

parent 8c771d1e
......@@ -39,8 +39,8 @@ public class MaskingController {
}
MaskingVo vo = new MaskingVo();
vo.setUserName(CommonUtil.nameDesensitization(maskingVo.getUserName()));
vo.setIdCard(CommonUtil.idCardEncrypt(maskingVo.getIdCard()));
vo.setUserName(ESAPI.encoder().encodeForHTML(CommonUtil.nameDesensitization(maskingVo.getUserName())));
vo.setIdCard(ESAPI.encoder().encodeForHTML(CommonUtil.idCardEncrypt(maskingVo.getIdCard())));
return ResResult.success().goRecord(vo);
}
......
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