fix javadoc warning

This commit is contained in:
Timi
2026-01-04 17:27:36 +08:00
parent ec7f4ecaa9
commit a9156e07f4
32 changed files with 587 additions and 11 deletions

View File

@ -18,6 +18,12 @@ public abstract class CaptchaValidAbstractInterceptor {
private boolean enable = true;
/**
* 创建验证码校验拦截器
*/
protected CaptchaValidAbstractInterceptor() {
}
/** 注入注解 */
@Pointcut("@annotation(com.imyeyu.spring.annotation.CaptchaValid)")
public void captchaPointCut() {
@ -45,12 +51,20 @@ public abstract class CaptchaValidAbstractInterceptor {
}
}
/**
* 校验验证码
*
* @param captchaId 验证码 ID
* @param captcha 验证码
*/
protected abstract void verify(String captchaId, String captcha);
/** 启用校验 */
public void enable() {
enable = true;
}
/** 禁用校验 */
public void disable() {
enable = false;
}