Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
d4dab386
Commit
d4dab386
authored
Aug 18, 2025
by
wujipeng
Browse files
文件上传大小调整
parent
2ebecd3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/application.yml
View file @
d4dab386
...
@@ -18,9 +18,9 @@ spring:
...
@@ -18,9 +18,9 @@ spring:
servlet
:
servlet
:
multipart
:
multipart
:
enabled
:
true
# 启用文件上传(默认 true)
enabled
:
true
# 启用文件上传(默认 true)
max-file-size
:
5
0MB
# 单个文件最大大小(默认 1MB)
max-file-size
:
10
0MB
# 单个文件最大大小(默认 1MB)
max-request-size
:
1
00MB
# 整个请求的最大大小(默认 10MB)
max-request-size
:
2
00MB
# 整个请求的最大大小(默认 10MB)
file-size-threshold
:
1MB
file-size-threshold
:
1
0
MB
logging
:
logging
:
level
:
level
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment