!175 [重大改动] 基于S3协议重新实现 OSS模块 支持自定义域名

* [重大改动] 基于S3协议重新实现 OSS模块 支持自定义域名
This commit is contained in:
疯狂的狮子Li
2022-05-10 01:40:40 +00:00
parent e1e26d53e6
commit 940b996e2d
27 changed files with 366 additions and 892 deletions

View File

@ -0,0 +1,9 @@
alter table sys_oss_config add column domain varchar(255) null default '' COMMENT '自定义域名';
update sys_oss_config set endpoint = 'localhost:9000' where oss_config_id = 1;
update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' where oss_config_id = 2;
update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3;
update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4;
insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', '','N', '', '1', '', 'admin', sysdate(), 'admin', sysdate(), NULL);