增加上传文件限制大小配置

master
pan 4 years ago
parent 541f73dd38
commit 1fa22d5d0a
  1. 4
      src/main/resources/application.yaml

@ -9,6 +9,10 @@ spring:
static-path-pattern: /image/** static-path-pattern: /image/**
resources: resources:
static-locations: classpath:/resources/static/image static-locations: classpath:/resources/static/image
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
#mybatis配置 #mybatis配置
mybatis: mybatis:
mapper-locations: classpath:mapping/*.xml mapper-locations: classpath:mapping/*.xml

Loading…
Cancel
Save