浏览代码

本地版配置

dengsixing 2 年之前
父节点
当前提交
c9432b36a1

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

@@ -655,7 +655,8 @@ public class SceneDownloadHandlerServiceImpl {
         }else{
 //            HttpUtil.downloadFile(url, String.format(sourceLocal, num, prefix + key));
             try {
-                this.downloadFile(url, String.format(sourceLocal, num, prefix + key));
+                fYunFileService.downloadFileByCommand(String.format(sourceLocal, num, prefix + key), key);
+//                this.downloadFile(url, String.format(sourceLocal, num, prefix + key));
             }catch (Exception e){
                 log.info("下载文件报错,path:{}", String.format(sourceLocal, num, prefix + key));
                 log.error("下载oss文件出错",e);