springboot 3.1.7 重新引入bug修复

This commit is contained in:
jiawenlong 2024-03-11 15:47:54 +08:00
parent 01e1bd650a
commit ad4e8006b0

View File

@ -15,7 +15,6 @@ import org.springframework.context.annotation.Configuration;
* Copyright © 2022 xpc1024 All Rights Reserved * Copyright © 2022 xpc1024 All Rights Reserved
**/ **/
@Data @Data
@Configuration
@ConfigurationProperties(value = "easy-es") @ConfigurationProperties(value = "easy-es")
@ConditionalOnExpression("'${easy-es.address:x}'!='x'") @ConditionalOnExpression("'${easy-es.address:x}'!='x'")
@ConditionalOnProperty(prefix = "easy-es", name = {"enable"}, havingValue = "true", matchIfMissing = true) @ConditionalOnProperty(prefix = "easy-es", name = {"enable"}, havingValue = "true", matchIfMissing = true)