feat: 邮箱验证码调整
This commit is contained in:
@@ -15,10 +15,15 @@ import org.springframework.context.annotation.Configuration;
|
||||
public class CaptchaProperties
|
||||
{
|
||||
/**
|
||||
* 验证码开关
|
||||
* 图片验证码开关
|
||||
*/
|
||||
private Boolean enabled;
|
||||
|
||||
/**
|
||||
* 邮箱验证码开关
|
||||
*/
|
||||
private Boolean mailEnabled;
|
||||
|
||||
/**
|
||||
* 验证码类型(math 数组计算 char 字符)
|
||||
*/
|
||||
@@ -43,4 +48,12 @@ 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