com.springframework.boxes.cookie.starter.captcha.BoxesCaptchaProperties Maven / Gradle / Ivy
package com.springframework.boxes.cookie.starter.captcha;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import java.util.Map;
@Data
@RefreshScope
@ConfigurationProperties("spring.boxes.captcha")
public class BoxesCaptchaProperties {
// 是否开启
private boolean enabled = true;
// 存储名称
private String cookieName = "cookie_captcha_key";
// 验证key
private String requestName = "captcha_value";
// 验证码组件配置
private Map captchaMeta;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy