xiewj hai 1 ano
pai
achega
63f0c3126f

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

@@ -224,8 +224,8 @@ public class LaserService  implements ILaserService {
             file.getParentFile().mkdirs();
         }
         try {
-//            DownloadUtil.downFile(url,path);
-            HttpUtil.downloadFileFromUrl(url,path);
+            DownloadUtil.downFile(url,path);
+//            HttpUtil.downloadFileFromUrl(url,path);
             if(FileUtil.size(new File(path)) == 0 && index < 4){
                 index++;
                 this.downloadFile(url,path,index);