fix: ConditionalOnProperty 错误指定问题修复

This commit is contained in:
ray committed 2024-08-23 23:21:13 +08:00
1 parent 43d9b53430
commit ee1829c39b
1 file changed
+1 -1
@@ -32,7 +32,7 @@ import java.time.LocalDateTime;
* @since 2023/6/2
*/
@Component
@ConditionalOnProperty(value = "oss.enabled", havingValue = "true" )
@ConditionalOnProperty(value = "oss.type", havingValue = "minio")
@ConfigurationProperties(prefix = "oss.minio")
@RequiredArgsConstructor
@Data