2
0

fix: 网关拦截处理验证码校验,添加用户检查重复

This commit is contained in:
TsMask
2024-11-30 16:22:14 +08:00
parent 7672600aec
commit 66c6a05800
7 changed files with 79 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 验证码配置
*
*
* @author wfc
*/
@Configuration
@@ -15,15 +15,10 @@ import org.springframework.context.annotation.Configuration;
public class CaptchaProperties
{
/**
* 图片验证码开关
* 验证码开关
*/
private Boolean enabled;
/**
* 邮箱验证码开关
*/
private Boolean mailEnabled;
/**
* 验证码类型math 数组计算 char 字符)
*/
@@ -48,12 +43,4 @@ public class CaptchaProperties
{
this.type = type;
}
public Boolean getMailEnabled() {
return mailEnabled;
}
public void setMailEnabled(Boolean mailEnabled) {
this.mailEnabled = mailEnabled;
}
}