Browse Source

文件上传大小配置调整

jichaobo 2 years ago
parent
commit
bc6c290f3b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      base-modules/service-file/src/main/resources/bootstrap.yml

+ 4 - 0
base-modules/service-file/src/main/resources/bootstrap.yml

@@ -7,6 +7,10 @@ spring:
   application:
     # 应用名称
     name: service-file
+  servlet:
+    multipart:
+      max-file-size: 100MB
+      max-request-size: 500MB
   profiles:
     # 环境配置
     active: dev