ClassPathResource classPathResource = new ClassPathResource("static/fonts/");spring
classPathResource .getURI().getPath(); //獲取文件路徑ci
ClassPathResource classPathResource = new ClassPathResource("financialTemplate/financial.xlsx");資源
classPathResource.getInputStream(); //獲取文件流get
spring boot下 獲取resources文件夾的資源文件class