From fadd75018c5cce0586e761b875ac6bb268033f73 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 24 四月 2024 16:44:14 +0800 Subject: [PATCH] 代码提交 --- ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java index eedc65f..e73ff96 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java @@ -40,7 +40,7 @@ /** * 鏌ヨ瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:list')") + // @PreAuthorize("@ss.hasPermi('monitor:job:list')") @GetMapping("/list") public TableDataInfo list(SysJob sysJob) { @@ -52,7 +52,7 @@ /** * 瀵煎嚭瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:export')") + // @PreAuthorize("@ss.hasPermi('monitor:job:export')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysJob sysJob) @@ -65,7 +65,7 @@ /** * 鑾峰彇瀹氭椂浠诲姟璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('monitor:job:query')") + // @PreAuthorize("@ss.hasPermi('monitor:job:query')") @GetMapping(value = "/{jobId}") public AjaxResult getInfo(@PathVariable("jobId") Long jobId) { @@ -75,7 +75,7 @@ /** * 鏂板瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:add')") + // @PreAuthorize("@ss.hasPermi('monitor:job:add')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException @@ -103,7 +103,7 @@ /** * 淇敼瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:edit')") + // @PreAuthorize("@ss.hasPermi('monitor:job:edit')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException @@ -131,7 +131,7 @@ /** * 瀹氭椂浠诲姟鐘舵�佷慨鏀� */ - @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") + // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/changeStatus") public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException @@ -144,7 +144,7 @@ /** * 瀹氭椂浠诲姟绔嬪嵆鎵ц涓�娆� */ - @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") + // @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.UPDATE) @PostMapping("/run") public AjaxResult run(@RequestBody SysJob job) throws SchedulerException @@ -156,7 +156,7 @@ /** * 鍒犻櫎瀹氭椂浠诲姟 */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") + // @PreAuthorize("@ss.hasPermi('monitor:job:remove')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.DELETE) @GetMapping("/remove/{jobIds}") public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException -- Gitblit v1.9.3