疯狂的狮子li
2021-12-24 5ca038d888922e93bf45c7bd37f3c6dce849dcff
ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/CaptchaProperties.java
@@ -1,5 +1,7 @@
package com.ruoyi.framework.config.properties;
import com.ruoyi.common.enums.CaptchaCategory;
import com.ruoyi.common.enums.CaptchaType;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@@ -15,19 +17,14 @@
public class CaptchaProperties {
   /**
    * 验证码开关
    */
   private Boolean enabled;
   /**
    * 验证码类型
     */
    private String type;
    private CaptchaType type;
   /**
    * 验证码类别
    */
    private String category;
    private CaptchaCategory category;
   /**
    * 数字验证码位数