refactor(captcha/graphic): 优化图形验证码配置前缀

This commit is contained in:
2023-12-18 20:53:26 +08:00
parent 9cf3ae87a1
commit e0e5944b45
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 {
/**