Ver código fonte

调整上次大小

安保维稳 7 meses atrás
pai
commit
dd7991ed56

+ 2 - 2
src/main/java/com/puboot/common/util/fileUtils/FileUploadUtils.java

@@ -14,9 +14,9 @@ import java.util.UUID;
 public class FileUploadUtils {
 
     /**
-     * 默认大小 50M
+     * 默认大小 50M * 20 = 1000m
      */
-    public static final long DEFAULT_MAX_SIZE = 50 * 1024 * 1024;
+    public static final long DEFAULT_MAX_SIZE = 50 * 1024 * 1024 * 20;
 
     /**
      * 默认的文件名最大长度 100