fix(file): 修复MinIO服务初始化和端口配置问题
- 修正MinIO端点端口号从10990改为10900 - 移除对MinioConfig的直接依赖注入,改用minioService.isInitialized()判断 - 重构MinioService实现延迟初始化和异常处理机制 - 添加初始化状态检查方法避免未初始化时的操作 - 更新依赖配置确保OkHttp和okio版本兼容性
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user