From a4077d90d300cf50c563f44953ed84322c5d5ff2 Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Tue, 21 Nov 2023 03:48:54 +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