From 4fbeee3784d4be5483ed7ec9e00a875d66bc9ed0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 20 二月 2024 16:09:40 +0800
Subject: [PATCH] 11

---
 src/api/system/class.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/system/class.js b/src/api/system/class.js
index 22e898d..3ea49d3 100644
--- a/src/api/system/class.js
+++ b/src/api/system/class.js
@@ -29,8 +29,8 @@
 // 淇敼鐝骇淇℃伅
 export function updateClass(data) {
   return request({
-    url: '/system/class',
-    method: 'put',
+    url: '/system/class/edit',
+    method: 'post',
     data: data
   })
 }
@@ -38,8 +38,8 @@
 // 鍒犻櫎鐝骇淇℃伅
 export function delClass(classId) {
   return request({
-    url: '/system/class/' + classId,
-    method: 'delete'
+    url: '/system/class/remove/' + classId,
+    method: 'get',
   })
 }
 

--
Gitblit v1.9.3