fix: 网关拦截处理验证码校验,添加用户检查重复
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user