String file="D:\\哈哈.doc"; String pdf="D:\\哈哈.pdf"; Map<String,Object> map=newHashMap<>(); map.put("scbg","华哥真帅");//获取静态文件模板ClassPathResource classPathResource =newClassPathResource("template/scbg.docx");//生成word//classPathResource.getInputStream() 模板//render(m...