| | |
| | | @Configuration |
| | | @RefreshScope |
| | | @ConfigurationProperties(prefix = "security.captcha") |
| | | public class CaptchaProperties |
| | | { |
| | | public class CaptchaProperties { |
| | | /** |
| | | * 验证码开关 |
| | | */ |
| | |
| | | */ |
| | | private String type; |
| | | |
| | | public Boolean getEnabled() |
| | | { |
| | | public Boolean getEnabled() { |
| | | return enabled; |
| | | } |
| | | |
| | | public void setEnabled(Boolean enabled) |
| | | { |
| | | public void setEnabled(Boolean enabled) { |
| | | this.enabled = enabled; |
| | | } |
| | | |
| | | public String getType() |
| | | { |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) |
| | | { |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | } |