feat(captcha): 升级验证码校验流程与资源管理
- 引入MatchParam封装滑动轨迹及相关信息,提升扩展性。- 调整验证码生成与校验接口,以支持更精细的参数控制。 - 优化资源管理,提高验证码资源的加载效率。 - 更新文档与示例代码,以反映API的最新变化。BREAKING CHANGE: 验证码校验接口发生改变,现在需要传入MatchParam对象而非直接传入轨迹对象。这可能会影响直接调用验证码校验服务的客户端代码,需根据最新API文档进行适配。
This commit is contained in:
@@ -5,8 +5,7 @@ package cloud.tianai.captcha.common.exception;
|
||||
* @date 2022/5/7 9:04
|
||||
* @Description 图片验证码异常
|
||||
*/
|
||||
public class ImageCaptchaException extends RuntimeException {
|
||||
|
||||
public class ImageCaptchaException extends RuntimeException{
|
||||
public ImageCaptchaException() {
|
||||
}
|
||||
|
||||
@@ -25,5 +24,4 @@ public class ImageCaptchaException extends RuntimeException {
|
||||
public ImageCaptchaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user