feat(file): 配置Minio文件存储支持
- 新增Minio存储类型配置选项- 配置Minio服务地址、访问密钥和存储桶名称 - 更新默认模块名称以使用Minio存储 - 保留原有基础路径和URL前缀配置- 支持MinioClient Bean的自动配置 - 确保存储桶具有读写权限并提前创建
This commit is contained in:
@@ -61,7 +61,7 @@ public class DataRoomFileController extends SuperController {
|
||||
DataRoomFileEntity entity = new DataRoomFileEntity();
|
||||
// 不同业务自己控制
|
||||
if (StringUtils.isBlank(module)) {
|
||||
module = "other";
|
||||
module = "minio";
|
||||
}
|
||||
entity.setModule(module);
|
||||
sysOssService.upload(file, entity, response, request);
|
||||
|
||||
Reference in New Issue
Block a user