Commit 8ef2d228f211803163ac3bdb37d1e9186b3871cf

Authored by zhangdaihao
1 parent 59bbf2d9

spring boot 2 上传文件大小配置

jeecg-boot/jeecg-boot-module-system/src/main/resources/application-dev.yml
... ... @@ -13,6 +13,10 @@ management:
13 13 include: metrics,httptrace
14 14  
15 15 spring:
  16 + servlet:
  17 + multipart:
  18 + max-file-size: 10MB
  19 + max-request-size: 10MB
16 20 mail:
17 21 host: smtp.163.com
18 22 username: jeecgos@163.com
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/application-prod.yml
... ... @@ -13,6 +13,10 @@ management:
13 13 include: metrics,httptrace
14 14  
15 15 spring:
  16 + servlet:
  17 + multipart:
  18 + max-file-size: 10MB
  19 + max-request-size: 10MB
16 20 mail:
17 21 host: smtp.163.com
18 22 username: jeecgos@163.com
... ...
jeecg-boot/jeecg-boot-module-system/src/main/resources/application-test.yml
... ... @@ -13,6 +13,10 @@ management:
13 13 include: metrics,httptrace
14 14  
15 15 spring:
  16 + servlet:
  17 + multipart:
  18 + max-file-size: 10MB
  19 + max-request-size: 10MB
16 20 mail:
17 21 host: smtp.163.com
18 22 username: jeecgos@163.com
... ...