spring boot 2 上传文件大小配置

This commit is contained in:
zhangdaihao
2019-07-09 16:26:56 +08:00
parent 59bbf2d9e9
commit 8ef2d228f2
3 changed files with 12 additions and 0 deletions
@@ -13,6 +13,10 @@ management:
include: metrics,httptrace
spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail:
host: smtp.163.com
username: jeecgos@163.com
@@ -13,6 +13,10 @@ management:
include: metrics,httptrace
spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail:
host: smtp.163.com
username: jeecgos@163.com
@@ -13,6 +13,10 @@ management:
include: metrics,httptrace
spring:
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
mail:
host: smtp.163.com
username: jeecgos@163.com