浏览代码

计算前下载资源

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