From 15aca11333c9c3d92b5bbff364373ab0feb5f6c3 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 25 八月 2026 19:21:31 +0800
Subject: [PATCH] 1.修改一下delete、put请求 2.新增一个万能密码 3.处理一下选项中还把a,b,c,d也带上的情况
---
ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java
index 16134f3..4feeb88 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java
@@ -3,9 +3,7 @@
import java.util.List;
import javax.servlet.http.HttpServletResponse;
-import com.ruoyi.quartz.service.ICollectHISMapperService;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -23,7 +21,7 @@
/**
* 璋冨害鏃ュ織鎿嶄綔澶勭悊
- *
+ *
* @author ruoyi
*/
@RestController
@@ -58,7 +56,7 @@
ExcelUtil<SysJobLog> util = new ExcelUtil<SysJobLog>(SysJobLog.class);
util.exportExcel(response, list, "璋冨害鏃ュ織");
}
-
+
/**
* 鏍规嵁璋冨害缂栧彿鑾峰彇璇︾粏淇℃伅
*/
@@ -75,7 +73,7 @@
*/
//@PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "瀹氭椂浠诲姟璋冨害鏃ュ織", businessType = BusinessType.DELETE)
- @DeleteMapping("/{jobLogIds}")
+ @GetMapping("/{jobLogIds}")
public AjaxResult remove(@PathVariable Long[] jobLogIds)
{
return toAjax(jobLogService.deleteJobLogByIds(jobLogIds));
@@ -86,7 +84,7 @@
*/
//@PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "璋冨害鏃ュ織", businessType = BusinessType.CLEAN)
- @DeleteMapping("/clean")
+ @GetMapping("/clean")
public AjaxResult clean()
{
jobLogService.cleanJobLog();
--
Gitblit v1.9.3