刘韬 3 years ago
parent
commit
86ff2bdfaf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DataFusion/src/com/zskk/task/DownloadTask.java

+ 1 - 1
DataFusion/src/com/zskk/task/DownloadTask.java

@@ -96,7 +96,7 @@ public class DownloadTask implements ITask {
         File file = new File(path, uid+ran1.toString());
         try {
             fos = new FileOutputStream(file);
-            byte[] bytes = new byte[2048];
+            byte[] bytes = new byte[1024];
             int len = 0;
             //获取下载的文件的大小
 //            long fileSize = response.body().contentLength();