From 1ab59cd7f144002071572e2b6d8e9e0b84a24129 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 04 一月 2024 15:11:42 +0800
Subject: [PATCH] yxh

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

diff --git a/src/api/system/student.js b/src/api/system/student.js
index 1c4c3f0..507e03b 100644
--- a/src/api/system/student.js
+++ b/src/api/system/student.js
@@ -29,8 +29,8 @@
 // 淇敼瀛︾敓淇℃伅
 export function updateStudent(data) {
   return request({
-    url: '/system/student',
-    method: 'put',
+    url: '/system/student/edit',
+    method: 'post',
     data: data
   })
 }
@@ -38,8 +38,8 @@
 // 鍒犻櫎瀛︾敓淇℃伅
 export function delStudent(studentId) {
   return request({
-    url: '/system/student/' + studentId,
-    method: 'delete'
+    url: '/system/student/remove/' + studentId,
+    method: 'get',
   })
 }
 

--
Gitblit v1.9.3