在application.properties配置文件中添加配置:#tag::文件上传大小限制spring.http.multipart.maxFileSize=1000Mbspring.http.multipart.maxRequestSize=1000Mb