疯狂的狮子li
2021-05-25 6c195af2a38f7482ba6274401b8ff0498d985a28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.ruoyi.framework.config.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 验证码 配置属性
 *
 * @author Lion Li
 */
@Data
@Component
@ConfigurationProperties(prefix = "captcha")
public class CaptchaProperties {
    // 验证码类型
    private String type;
    // 验证码类别
    private String category;
    // 数字验证码位数
    private Integer numberLength;
    // 字符验证码长度
    private Integer charLength;
}