Browse Source

大文件下载失败测试

dev-opt
chenzhihang 5 months ago
parent
commit
7a20df32fd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java

+ 1
- 0
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java View File

@@ -620,6 +620,7 @@ public class NewDatasetServiceImpl implements NewDatasetService {
// .contentType(MediaType.APPLICATION_OCTET_STREAM)
// .body(resource);
String[] split = filePath.split("/");
String t1 = endpointIp + "/" + bucketName + "/" + platformDataBucketName + "/" + String.join("/", Arrays.copyOfRange(split, 3, split.length));
return endpointIp + "/" + bucketName + "/" + platformDataBucketName + "/" + String.join("/", Arrays.copyOfRange(split, 3, split.length));
}



Loading…
Cancel
Save