提交 ad2fe4a2 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

spring boot 2 上传文件大小配置

上级 025c8aaa
...@@ -13,6 +13,10 @@ management: ...@@ -13,6 +13,10 @@ management:
include: metrics,httptrace include: metrics,httptrace
spring: spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail: mail:
host: smtp.163.com host: smtp.163.com
username: jeecgos@163.com username: jeecgos@163.com
......
...@@ -13,6 +13,10 @@ management: ...@@ -13,6 +13,10 @@ management:
include: metrics,httptrace include: metrics,httptrace
spring: spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail: mail:
host: smtp.163.com host: smtp.163.com
username: jeecgos@163.com username: jeecgos@163.com
......
...@@ -13,6 +13,10 @@ management: ...@@ -13,6 +13,10 @@ management:
include: metrics,httptrace include: metrics,httptrace
spring: spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail: mail:
host: smtp.163.com host: smtp.163.com
username: jeecgos@163.com username: jeecgos@163.com
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册