xiewj 1 year ago
parent
commit
16717435b1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/fdkk/bim/util/BimZipUtil.java

+ 2 - 2
src/main/java/com/fdkk/bim/util/BimZipUtil.java

@@ -33,10 +33,10 @@ public class BimZipUtil {
                 Map<String, String> header=new HashMap<>();
                 header.put("Content-Type","application/gzip");
                 header.put("Content-Encoding","gzip");
-                ossFileService.uploadFile(file.getAbsolutePath(), remoteFilePath,header);
+                ossFileService.uploadFile( remoteFilePath,file.getAbsolutePath(),header);
                 log.info("gz/" + projectId + replace);
             }else {
-                ossFileService.uploadFile(file.getAbsolutePath(), remoteFilePath);
+                ossFileService.uploadFile( remoteFilePath,file.getAbsolutePath());
                 log.info("/" + projectId + replace);
 
             }