提交 7a250034 编写于 作者: Chongwen.jiang's avatar Chongwen.jiang

加密方法给测试用,

上级 8e75319d
流水线 #22637 已失败 于阶段
in 0 second
......@@ -63,7 +63,7 @@ public class AutoCodeController extends AccountBaseController {
@PostMapping("/encryptedParams")
public PicaResponse getEncryptedParams(@RequestBody BaseRequest request) throws Exception {
String publicKey = "123456";
String publicKey = "1234567890123456";
String content = AESUtil.aesEncrypt(JSON.toJSONString(request), publicKey);
String encryptKey = RSAUtil.encrypt(publicKey);
Map<String, Object> map = new HashMap<>(2);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册