Explorar el Código

增加文件下载放卡死

xueyiming hace 1 mes
padre
commit
2ae891d27e

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

@@ -115,7 +115,7 @@ public class VideoDownloader {
                         }
                     }
                 }
-                if (file.length() != expectedSize) {
+                if (file.length() == expectedSize) {
                     return 0;
                 }
             }