更新10.25

This commit is contained in:
许允枞 2024-10-25 16:32:10 +08:00
parent 847f821729
commit 715f58514e
2 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ spring:
servlet:
multipart:
# 单个文件大小
max-file-size: 200MB
max-file-size: 1000MB
# 设置总上传的文件大小
max-request-size: 200MB
max-request-size: 1000MB
# 服务模块
devtools:
restart:

View File

@ -25,7 +25,7 @@ public class FileUploadUtils
/**
* 默认大小 50M
*/
public static final long DEFAULT_MAX_SIZE = 200 * 1024 * 1024L;
public static final long DEFAULT_MAX_SIZE = 1000 * 1024 * 1024L;
/**
* 默认的文件名最大长度 100