yonge hace 5 años
padre
commit
957238c45e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      mec-student/src/main/resources/application.yml

+ 3 - 0
mec-student/src/main/resources/application.yml

@@ -26,7 +26,10 @@ spring:
     
   servlet:
     multipart:
+      # 最大支持文件大小
       max-file-size: 50MB
+      # 最大支持请求大小
+      max-request-size: 50MB
     
   datasource:
     name: test