futian.liu
2023-12-04 43a322430e7e6dcea64242bec6918037da160986
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");