-
Notifications
You must be signed in to change notification settings - Fork 25
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
peerless-hero
wants to merge
10
commits into
yixiaco:main
Choose a base branch
from
peerless-hero:feat-url-style
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: urlStyle #84
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 新增 OssConstant.PATH_STYLE_ACCESS_ENABLED 常量,用于启用 S3 路径访问风格 - 修改 OssClient 类,支持路径风格和虚拟主机风格的 URL 访问 - 在 OssProperties 中添加 urlStyle 属性,用于配置 URL 风格 - 优化了 URL 生成逻辑,根据配置和云服务商动态调整访问方式
$route、$router、$t等vue模板内可使用的对象或函数将不再报错
- 在 SysOssConfigVo 接口中添加 urlStyle 字段 - 在 ossConfig 组件中增加 URL 风格选择功能 - 优化表单布局和提示信息,提高用户体验 - 添加更多帮助图标和弹出提示,解释各项配置的用途 - 更新表格列,增加 URL 风格显示 - 调整表单验证规则,确保 urlStyle 必填
- 在 SysOssConfigBo 类中添加 urlStyle 字段 - 用于配置 AWS S3 的 URL 风格(路径风格或托管主机风格) - 默认值为 "0",即路径风格
- 在 Oracle、PostgreSQL 和 MySQL 脚本中更新了 sys_oss_config 表的插入语句
yixiaco
requested changes
Jan 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
合并问题较多,请修改一下后记得本地测试后再提交推送
ruoyi-common/ruoyi-common-oss/src/main/java/org/dromara/common/oss/core/OssClient.java
Outdated
Show resolved
Hide resolved
ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/domain/bo/SysOssConfigBo.java
Outdated
Show resolved
Hide resolved
...i-common/ruoyi-common-oss/src/main/java/org/dromara/common/oss/properties/OssProperties.java
Outdated
Show resolved
Hide resolved
还有一部分代码问题未解决,因此合并被推迟 |
还有哪部分有问题吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OSS增加 urlStyle 字段,优化URL风格判断
fix #83