Explorar o código

2.1.project-jmga-2.1.0

dengsixing hai 1 mes
pai
achega
0a714b75ce

+ 1 - 1
src/main/java/com/fdkankan/download/service/impl/SceneDownloadHandlerServiceImpl.java

@@ -678,7 +678,7 @@ public class SceneDownloadHandlerServiceImpl {
                         try {
                             remoteFilePath = jsonObject.getString("file_path").substring(1);
                             filePath =  String.format(this.sourceLocal, sceneViewInfo.getNum(), this.wwwroot) + remoteFilePath.replace("map_tiles", "");
-                            String command = String.format(fYunConstants.DOWNLOAD_SH, "laser-data", remoteFilePath, filePath, FYunTypeEnum.OSS.code(), "minio");
+                            String command = String.format(fYunConstants.DOWNLOAD_SH, "laser-data", remoteFilePath, filePath, "minio", "folder");
                             log.info("开始下载文件, ossPath:{}, srcPath:{}", remoteFilePath, filePath);
                             CreateObjUtil.callshell(command);
                             log.info("下载文件完毕, ossPath:{}, srcPath:{}", remoteFilePath, filePath);