fix(file): 修复MinIO服务初始化和端口配置问题

- 修正MinIO端点端口号从10990改为10900
- 移除对MinioConfig的直接依赖注入,改用minioService.isInitialized()判断
- 重构MinioService实现延迟初始化和异常处理机制
- 添加初始化状态检查方法避免未初始化时的操作
- 更新依赖配置确保OkHttp和okio版本兼容性
This commit is contained in:
2026-06-09 13:33:12 +08:00
parent 78e2c3023b
commit ab2f4a611a
7 changed files with 80 additions and 45 deletions

View File

@@ -73,6 +73,19 @@
<artifactId>ruoyi-cost</artifactId>
</dependency>
<!-- MinIO 所需的 OkHttp 4.x覆盖其他依赖传递的 3.x -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.12.0</version>
</dependency>
<!-- OkHttp 4.x 所需的 okio 3.x -->
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>3.6.0</version>
</dependency>
</dependencies>
<build>