From f80df09d8dee5c731cb42d4e3d18f627e32bdaea Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 19 十月 2023 09:51:47 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java
index c4624de..e9bb8f1 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java
@@ -87,7 +87,7 @@
      */
     @PreAuthorize("@ss.hasPermi('system:class:edit')")
     @Log(title = "鐝骇淇℃伅", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/edit")
     @RepeatSubmit    
     public AjaxResult edit(@RequestBody SysClass sysClass)
     {
@@ -99,7 +99,7 @@
      */
     @PreAuthorize("@ss.hasPermi('system:class:remove')")
     @Log(title = "鐝骇淇℃伅", businessType = BusinessType.DELETE)
-    @DeleteMapping("/{classIds}")
+    @GetMapping("/remove/{classIds}")
     public AjaxResult remove(@PathVariable Long[] classIds)
     {
         return toAjax(sysClassService.removeByIds(Arrays.asList(classIds)));

--
Gitblit v1.9.3