1、MultipartFile 转成 InputStream
MultipartFile file; byte [] byteArr = file.getBytes(); InputStream inputStream = new ByteArrayInputStream(byteArr);