mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 08:57:17 +08:00
refactor(captcha/graphic): 优化图形验证码配置前缀
This commit is contained in:
@@ -31,7 +31,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@AutoConfiguration
|
@AutoConfiguration
|
||||||
@EnableConfigurationProperties(GraphicCaptchaProperties.class)
|
@EnableConfigurationProperties(GraphicCaptchaProperties.class)
|
||||||
@ConditionalOnProperty(prefix = "captcha.graphic", name = "enabled", havingValue = "true")
|
@ConditionalOnProperty(prefix = "continew-starter.captcha.graphic", name = "enabled", havingValue = "true")
|
||||||
public class GraphicCaptchaAutoConfiguration {
|
public class GraphicCaptchaAutoConfiguration {
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
|
@@ -32,7 +32,7 @@ import java.awt.*;
|
|||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ConfigurationProperties(prefix = "captcha.graphic")
|
@ConfigurationProperties(prefix = "continew-starter.captcha.graphic")
|
||||||
public class GraphicCaptchaProperties {
|
public class GraphicCaptchaProperties {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user