consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java
@@ -226,7 +226,7 @@ * @return 获取项目导入的模板 * @throws IOException */ @PostMapping("getWarnConfImportTemplate") @GetMapping("getWarnConfImportTemplate") public ResponseEntity<InputStreamResource> getProjectImportTemplate() throws IOException { // 从当前项目资源目录获取文件 org.springframework.core.io.Resource resource = new ClassPathResource("import/warningConfImp.xls");