ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java
@@ -125,13 +125,13 @@ // 云服务商直接返回 if (StringUtils.containsAny(endpoint, OssConstant.CLOUD_SERVICE)){ if (StringUtils.isNotBlank(domain)) { return domain; return header + domain; } return header + properties.getBucketName() + "." + endpoint; } // minio 单独处理 if (StringUtils.isNotBlank(domain)) { return domain + "/" + properties.getBucketName(); return header + domain + "/" + properties.getBucketName(); } return header + endpoint + "/" + properties.getBucketName(); }