From eaeb324c74c12e09c4c7f5b1dfbdf2943905cd89 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 08 一月 2022 18:41:42 +0800 Subject: [PATCH] update 指定 maven 资源过滤为具体文件 防止错误过滤 --- ruoyi-generator/src/main/resources/vm/java/controller.java.vm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm index 1f94b69..16798f3 100644 --- a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm @@ -70,7 +70,7 @@ @ApiOperation("瀵煎嚭${functionName}鍒楄〃") @PreAuthorize("@ss.hasPermi('${permissionPrefix}:export')") @Log(title = "${functionName}", businessType = BusinessType.EXPORT) - @GetMapping("/export") + @PostMapping("/export") public void export(@Validated ${ClassName}Bo bo, HttpServletResponse response) { List<${ClassName}Vo> list = i${ClassName}Service.queryList(bo); ExcelUtil.exportExcel(list, "${functionName}", ${ClassName}Vo.class, response); -- Gitblit v1.9.3