lyhzzz 7 months ago
parent
commit
0a99bedac5
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/resources/bootstrap.yml

+ 6 - 0
src/main/resources/bootstrap.yml

@@ -1,4 +1,10 @@
 spring:
 spring:
+  servlet:
+    multipart:
+      #       设置单个文件大小
+      max-file-size: 5000MB
+      #       设置单次请求文件的总大小
+      max-request-size: 5000MB
   profiles:
   profiles:
     active: test
     active: test
 logging:
 logging: