From 1fa22d5d0aa9d77fb8f5bcd74e3fe10f03241d3b Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 30 May 2020 20:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E9=99=90=E5=88=B6=E5=A4=A7=E5=B0=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 3ed6af9..788ccf6 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -9,6 +9,10 @@ spring: static-path-pattern: /image/** resources: static-locations: classpath:/resources/static/image + servlet: + multipart: + max-file-size: 10MB + max-request-size: 10MB #mybatis配置 mybatis: mapper-locations: classpath:mapping/*.xml