java里取模板文件路径

//模板文件
ClassPathResource classPathResource = new ClassPathResource("template/"+"请款单模板.pdf");
String templatePath = classPathResource.getPath();

 

posted @ 2021-11-19 11:45  天才淇露洛  阅读(601)  评论(0)    收藏  举报