xiewj hace 1 año
padre
commit
16717435b1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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<>();
                 Map<String, String> header=new HashMap<>();
                 header.put("Content-Type","application/gzip");
                 header.put("Content-Type","application/gzip");
                 header.put("Content-Encoding","gzip");
                 header.put("Content-Encoding","gzip");
-                ossFileService.uploadFile(file.getAbsolutePath(), remoteFilePath,header);
+                ossFileService.uploadFile( remoteFilePath,file.getAbsolutePath(),header);
                 log.info("gz/" + projectId + replace);
                 log.info("gz/" + projectId + replace);
             }else {
             }else {
-                ossFileService.uploadFile(file.getAbsolutePath(), remoteFilePath);
+                ossFileService.uploadFile( remoteFilePath,file.getAbsolutePath());
                 log.info("/" + projectId + replace);
                 log.info("/" + projectId + replace);
 
 
             }
             }