Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
43
Star
723
Fork
691
奔跑的面条
/
go-view-serve
Code
Issues
14
Pull Requests
5
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
图片http访问里的/oss/是如何映射到真实磁盘路径D:/upload的?原理是啥
Backlog
#I87LW6
夏天的尾巴
Opened this issue
2023-10-12 16:15
application.yml里的配置: ``` v2: #虚拟路径映射路径 2个文件路径一一对应 第一个为主存储,其他为配置相关 xnljmap: oss: file:D:/upload/ fileurl: D:/upload #http://127.0.0.1:8080/oss/{yy}/2022-12-22/c83a77ae134a540c30daa6a0666fa945.md httpurl: http://127.0.0.1:8083/ ``` 请问: 路径的/oss/是如何映射到真实磁盘路径D:/upload的? 比如请求下面的url,浏览器请求这个后端地址的时候,是如何找到磁盘文件的? http://127.0.0.1:8083/oss/2023-10-12/872355042018070528.png 目前打包启动,出现了找不到的情况,不知道是哪里的问题。。。
application.yml里的配置: ``` v2: #虚拟路径映射路径 2个文件路径一一对应 第一个为主存储,其他为配置相关 xnljmap: oss: file:D:/upload/ fileurl: D:/upload #http://127.0.0.1:8080/oss/{yy}/2022-12-22/c83a77ae134a540c30daa6a0666fa945.md httpurl: http://127.0.0.1:8083/ ``` 请问: 路径的/oss/是如何映射到真实磁盘路径D:/upload的? 比如请求下面的url,浏览器请求这个后端地址的时候,是如何找到磁盘文件的? http://127.0.0.1:8083/oss/2023-10-12/872355042018070528.png 目前打包启动,出现了找不到的情况,不知道是哪里的问题。。。
Comments (
2
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
No related branch
master
新版
旧
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
Java
1
https://gitee.com/MTrun/go-view-serve.git
git@gitee.com:MTrun/go-view-serve.git
MTrun
go-view-serve
go-view-serve
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register