mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-11-04 09:01:40 +08:00 
			
		
		
		
	chore: 完善 ConditionalOnProperty 配置
This commit is contained in:
		@@ -49,7 +49,7 @@ import java.util.Properties;
 | 
			
		||||
 */
 | 
			
		||||
@AutoConfiguration
 | 
			
		||||
@EnableConfigurationProperties(BehaviorCaptchaProperties.class)
 | 
			
		||||
@ConditionalOnProperty(prefix = PropertiesConstants.CAPTCHA_BEHAVIOR, name = PropertiesConstants.ENABLED, matchIfMissing = true)
 | 
			
		||||
@ConditionalOnProperty(prefix = PropertiesConstants.CAPTCHA_BEHAVIOR, name = PropertiesConstants.ENABLED, havingValue = "true", matchIfMissing = true)
 | 
			
		||||
public class BehaviorCaptchaAutoConfiguration {
 | 
			
		||||
 | 
			
		||||
    private static final Logger log = LoggerFactory.getLogger(BehaviorCaptchaAutoConfiguration.class);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user