1.使用基本配置步骤:构建文件上传表单,表单必须post提交,编码方式为multipart/form-dataController方法参数类型为MultipartFile,注解是@RequestPart1,构建文件上传表单邮箱
SpringBoot文件上传的使用及原理相关文章