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
0d623f92
Commit
0d623f92
authored
Jul 30, 2025
by
wujipeng
Browse files
文件上传配置
parent
d94136b1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/resources/application.yml
View file @
0d623f92
...
@@ -14,3 +14,10 @@ spring:
...
@@ -14,3 +14,10 @@ spring:
password
:
ruzhoukj@2022
password
:
ruzhoukj@2022
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://122.246.0.231:48833/relation?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
url
:
jdbc:mysql://122.246.0.231:48833/relation?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
servlet
:
multipart
:
enabled
:
true
# 启用文件上传(默认 true)
max-file-size
:
50MB
# 单个文件最大大小(默认 1MB)
max-request-size
:
100MB
# 整个请求的最大大小(默认 10MB)
file-size-threshold
:
1MB
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