Selaa lähdekoodia

multipartFile大小

wujiefeng 1 vuosi sitten
vanhempi
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