石广澎
2023-12-13 3f0228da470c797e7339964cc4c3df3ed86415da
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");