|
@@ -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);
|
|
|
|
|
|
}
|
|
}
|