From 5fd2ac11a530b5b7ddfcb2a40cf5d68fdde193be Mon Sep 17 00:00:00 2001
From: huaz <huaz@yhzhg.cn>
Date: Mon, 09 Jan 2023 01:27:48 +0000
Subject: [PATCH] 项目成本

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/rest/QuartzJobController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/rest/QuartzJobController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/rest/QuartzJobController.java
index 0ffee65..e0884a8 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/rest/QuartzJobController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/rest/QuartzJobController.java
@@ -58,7 +58,7 @@
 
     @ApiOperation("导出任务数据")
     @GetMapping(value = "/download")
-    @PreAuthorize("@el.check('timing:list')")
+    @PreAuthorize("@el.check('timing:download')")
     public void exportQuartzJob(HttpServletResponse response, JobQueryCriteria criteria) throws IOException {
         quartzJobService.download(quartzJobService.queryAll(criteria), response);
     }

--
Gitblit v1.9.3