From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +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 a4c600b..b21433d 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 @@ -42,7 +42,7 @@ /** * 鏌ヨ瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:list')") + //@PreAuthorize("@ss.hasPermi('monitor:job:list')") @GetMapping("/list") public TableDataInfo list(SysJob sysJob) { startPage(); @@ -53,7 +53,7 @@ /** * 瀵煎嚭瀹氭椂浠诲姟鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('monitor:job:export')") + //@PreAuthorize("@ss.hasPermi('monitor:job:export')") @Log(title = "瀹氭椂浠诲姟", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, 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) { return success(jobService.selectJobById(jobId)); @@ -74,7 +74,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 { @@ -98,7 +98,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 { @@ -122,7 +122,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 { @@ -134,7 +134,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 { @@ -145,7 +145,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