소스 검색

优化文件大小控制

wuxw 1 년 전
부모
커밋
10b1e880ab

+ 4 - 0
springboot/src/main/resources/application-debug.yml

@@ -6,6 +6,10 @@ server:
 
 
 spring:
+  servlet:
+    multipart:
+      maxFileSize: 50MB
+      maxRequestSize: 50MB
   profiles:
     active: share
   http:

+ 4 - 0
springboot/src/main/resources/application-dev.yml

@@ -6,6 +6,10 @@ server:
 
 
 spring:
+  servlet:
+    multipart:
+      maxFileSize: 50MB
+      maxRequestSize: 50MB
   profiles:
     active: share
   http:

+ 4 - 0
springboot/src/main/resources/application-zihao.yml

@@ -6,6 +6,10 @@ server:
 
 
 spring:
+  servlet:
+    multipart:
+      maxFileSize: 50MB
+      maxRequestSize: 50MB
   profiles:
     active: share
   http: