修改上传限制

This commit is contained in:
zhujj 2019-01-10 11:03:06 +08:00
parent ffb5364f05
commit 6195d3df56
2 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@ spring:
# 文件上传
servlet:
multipart:
max-file-size: 30MB
max-request-size: 30MB
max-file-size: 300MB
max-request-size: 300MB
# 服务模块
devtools:
restart:

View File

@ -97,7 +97,7 @@ public class FileUploadUtils {
FileUploadUtils.DEFAULT_FILE_NAME_LENGTH );
}
assertAllowed( file );
// assertAllowed( file );
String fileName = extension;
if(needDatePathAndRandomName){