Ver Fonte

multipartFile大小

wujiefeng há 1 ano atrás
pai
commit
9f2b674c74

+ 4 - 0
centers/AuthCenter/AuthServer/src/main/resources/application.yml

@@ -50,6 +50,10 @@ spring:
     prefix: classpath:/templates/
     cache: false
     encoding: UTF-8
+  servlet:
+    multipart:
+      max-file-size: 10MB
+      max-request-size: 10MB