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

上传文件报错 #73

Open
263055 opened this issue Jan 17, 2023 · 1 comment
Open

上传文件报错 #73

263055 opened this issue Jan 17, 2023 · 1 comment

Comments

@263055
Copy link

263055 commented Jan 17, 2023

这里我的解决方案是:
首先明确自己七牛云的存储区域,我的存储区域是:华南-广东
然后根据存储区域,修改api目录下,QiniuCloudService代码中的代码
修改前:Configuration cfg = new Configuration(Zone.zone0());
修改后:Configuration cfg = new Configuration(Region.huanan());

@Secret111123
Copy link

我的是华南河源,所以得修改成zone2
Configuration cfg = new Configuration(Zone.zone2());

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