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