From 1e308522be54f41e5aaf001087951099fce3550d Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Wed, 14 Dec 2022 03:09:42 +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