Commit ad2fe4a2 by zhangdaihao

spring boot 2 上传文件大小配置

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment