Commit 37c490d3 authored by fangxinjiang's avatar fangxinjiang

文件上传限制

parent 1812fb11
...@@ -64,6 +64,12 @@ spring: ...@@ -64,6 +64,12 @@ spring:
#mvc: #mvc:
# pathmatch: # pathmatch:
# matching-strategy: ANT_PATH_MATCHER # matching-strategy: ANT_PATH_MATCHER
servlet:
multipart:
#所有上传文件最大大小
max-request-size: 100MB
#单个文件最大大小
max-file-size: 5MB
#swagger 文档 https://springdoc.org/ #swagger 文档 https://springdoc.org/
### OpenAPI3 注解 ### OpenAPI3 注解
# OpenAPI 3 注解位置 # OpenAPI 3 注解位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment