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

解密接口提供方便测试

上级 e3f78b0f
流水线 #22650 已失败 于阶段
in 0 second
...@@ -72,6 +72,12 @@ public class AutoCodeController extends AccountBaseController { ...@@ -72,6 +72,12 @@ public class AutoCodeController extends AccountBaseController {
return JSON.toJSONString(map); return JSON.toJSONString(map);
} }
@PostMapping("/decryptedParams")
public String getDecryptedParams(@RequestBody EncryptEntity entity) throws Exception {
BaseRequest request = CryptoUtil.decrypt(entity, BaseRequest.class);
return JSON.toJSONString(request);
}
/** /**
* @Description native获取验证码,新老版本兼容 * @Description native获取验证码,新老版本兼容
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册