mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-25 21:28:21 +00:00
修改 修复上传文件超过1M报错
This commit is contained in:
@@ -55,6 +55,12 @@ spring:
|
|||||||
pathmatch:
|
pathmatch:
|
||||||
# 适配 boot 2.6 路由与 springfox 兼容
|
# 适配 boot 2.6 路由与 springfox 兼容
|
||||||
matching-strategy: ANT_PATH_MATCHER
|
matching-strategy: ANT_PATH_MATCHER
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
# 整个请求大小限制
|
||||||
|
max-request-size: 20MB
|
||||||
|
# 上传单个文件大小限制
|
||||||
|
max-file-size: 10MB
|
||||||
#jackson配置
|
#jackson配置
|
||||||
jackson:
|
jackson:
|
||||||
# 日期格式化
|
# 日期格式化
|
||||||
|
Reference in New Issue
Block a user