From d18c0bde988f8501ba84600f9d3d02f676a881e8 Mon Sep 17 00:00:00 2001
From: yaozc <unbelievers@yeah.net>
Date: Mon, 20 Mar 2023 03:07:10 +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