📅  最后修改于: 2022-03-11 14:52:13.398000             🧑  作者: Mango
MultipartFile file = new MockMultipartFile("filename", "someTestFile.xls", "application/vnd.ms-excel", new ClassPathResource("someTestFile.xls").getInputStream());