Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: urlStyle #84

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

peerless-hero
Copy link
Contributor

@peerless-hero peerless-hero commented Jan 12, 2025

OSS增加 urlStyle 字段,优化URL风格判断

fix #83

- 新增 OssConstant.PATH_STYLE_ACCESS_ENABLED 常量,用于启用 S3 路径访问风格
- 修改 OssClient 类,支持路径风格和虚拟主机风格的 URL 访问
- 在 OssProperties 中添加 urlStyle 属性,用于配置 URL 风格
- 优化了 URL 生成逻辑,根据配置和云服务商动态调整访问方式
$route、$router、$t等vue模板内可使用的对象或函数将不再报错
- 在 SysOssConfigVo 接口中添加 urlStyle 字段
- 在 ossConfig 组件中增加 URL 风格选择功能
- 优化表单布局和提示信息,提高用户体验
- 添加更多帮助图标和弹出提示,解释各项配置的用途
- 更新表格列,增加 URL 风格显示
- 调整表单验证规则,确保 urlStyle 必填
@peerless-hero
Copy link
Contributor Author

前端编辑弹框修改
11111111
2222222222222

- 在 SysOssConfigBo 类中添加 urlStyle 字段
- 用于配置 AWS S3 的 URL 风格(路径风格或托管主机风格)
- 默认值为 "0",即路径风格
- 在 Oracle、PostgreSQL 和 MySQL 脚本中更新了 sys_oss_config 表的插入语句
Copy link
Owner

@yixiaco yixiaco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

合并问题较多,请修改一下后记得本地测试后再提交推送

@yixiaco
Copy link
Owner

yixiaco commented Jan 24, 2025

还有一部分代码问题未解决,因此合并被推迟

@peerless-hero peerless-hero requested a review from yixiaco January 24, 2025 17:22
@peerless-hero
Copy link
Contributor Author

还有一部分代码问题未解决,因此合并被推迟

还有哪部分有问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSS存储配置建议
2 participants