zhibing.pu
2024-08-19 b9522d131e168a92c88f23e2c0a3a2df079926b4
ruoyi-gateway/src/main/java/com/ruoyi/gateway/config/properties/CaptchaProperties.java
@@ -6,41 +6,36 @@
/**
 * 验证码配置
 *
 *
 * @author ruoyi
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.captcha")
public class CaptchaProperties
{
    /**
     * 验证码开关
     */
    private Boolean enabled;
    /**
     * 验证码类型(math 数组计算 char 字符)
     */
    private String type;
    public Boolean getEnabled()
    {
        return enabled;
    }
    public void setEnabled(Boolean enabled)
    {
        this.enabled = enabled;
    }
    public String getType()
    {
        return type;
    }
    public void setType(String type)
    {
        this.type = type;
    }
public class CaptchaProperties {
   /**
    * 验证码开关
    */
   private Boolean enabled;
   /**
    * 验证码类型(math 数组计算 char 字符)
    */
   private String type;
   public Boolean getEnabled() {
      return enabled;
   }
   public void setEnabled(Boolean enabled) {
      this.enabled = enabled;
   }
   public String getType() {
      return type;
   }
   public void setType(String type) {
      this.type = type;
   }
}