全局修改上传文件大小上限

This commit is contained in:
高子兴 2024-07-04 00:31:58 +08:00
parent 173b507361
commit a15f407c13

View File

@ -22,5 +22,8 @@ server.servlet.encoding.force=true
server.servlet.encoding.charset=utf-8
# verificationCode
verification.code.images.path=src/main/resources/static/verificationCodeImages
# set the max size of a single file
spring.servlet.multipart.max-file-size=50MB
# set the max size of the total request
spring.servlet.multipart.max-request-size=50MB