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

minio对象存储功能不完善-大佬后续会写吗? #658

Closed
ChangSZ opened this issue May 20, 2024 · 1 comment
Closed

minio对象存储功能不完善-大佬后续会写吗? #658

ChangSZ opened this issue May 20, 2024 · 1 comment

Comments

@ChangSZ
Copy link

ChangSZ commented May 20, 2024

看了下,前端把阿里云对象存储给关掉了,使用minio,但minio upload成功后返回了http://localhost:9000/mall/20240520/xxx.png的URL,这个URL无签名,会访问失败的。

是否要新增个接口,upload返回该新接口

  • 方法1:新接口中进行预签名,前端获得该签名URL再直接访问
  • 方法2:新接口中进行预签名,并直接访问minio将对象返回
@macrozheng
Copy link
Owner

存储桶的权限问题吧,把存储桶的权限改成可读就能访问了

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

No branches or pull requests

2 participants