소스 검색

计算前下载资源

dengsixing 2 년 전
부모
커밋
02f6a2eb6e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/fdkankan/contro/service/impl/BuildScenePreServiceImpl.java

+ 2 - 2
src/main/java/com/fdkankan/contro/service/impl/BuildScenePreServiceImpl.java

@@ -143,9 +143,9 @@ public class BuildScenePreServiceImpl implements IBuildScenePreService {
                 //删除压缩包
                 FileUtils.delFile(path + File.separator + "capture" + File.separator + imgsName);
             }else if(cameraType == 14) {
-                fYunFileService.downloadFile(ossPath,path + File.separator + "capture");
+                fYunFileService.downloadFileByCommand(path + File.separator + "capture", ossPath);
             } else{
-                fYunFileService.downloadFile(ossPath,path + File.separator + "capture");
+                fYunFileService.downloadFileByCommand(path + File.separator + "capture", ossPath);
             }
         }
     }