fix: ConditionalOnProperty 错误指定问题修复
This commit is contained in:
@@ -32,7 +32,7 @@ import java.time.LocalDateTime;
|
|||||||
* @since 2023/6/2
|
* @since 2023/6/2
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@ConditionalOnProperty(value = "oss.enabled", havingValue = "true" )
|
@ConditionalOnProperty(value = "oss.type", havingValue = "minio")
|
||||||
@ConfigurationProperties(prefix = "oss.minio")
|
@ConfigurationProperties(prefix = "oss.minio")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Data
|
@Data
|
||||||
|
|||||||
Reference in New Issue
Block a user