fix: 文件上传大小限制

This commit is contained in:
xiongxiaoyang 2024-05-25 22:05:03 +08:00
parent bfb7d6cc5c
commit 6d9b563583
2 changed files with 7 additions and 5 deletions

View File

@ -18,10 +18,11 @@ spring:
profiles:
active: dev
#上传文件的最大值10M
#上传文件的最大值100M
servlet:
multipart:
max-file-size: 10485760
max-file-size: 100MB
max-request-size: 100MB
devtools:
restart:

View File

@ -11,10 +11,11 @@ spring:
generator:
write-numbers-as-strings: true
#上传文件的最大值1M
#上传文件的最大值100M
servlet:
multipart:
max-file-size: 1048576
max-file-size: 100MB
max-request-size: 100MB
mybatis:
configuration: