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

master
pan 5 years ago
parent 541f73dd38
commit 1fa22d5d0a
  1. 4
      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

Loading…
Cancel
Save