WinterChenS / my-site

springboot2.0开发的个人网站,集成了:个人首页,个人博客,个人作品
https://my.winterchen.com:8189
Apache License 2.0
3.23k stars 1.04k forks source link

上传文件报错 #73

Open 263055 opened 1 year ago

263055 commented 1 year ago

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

Secret111123 commented 1 year ago

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