From a895a615b2b6a40be7ee0740d3e0b998d811744f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期六, 01 六月 2024 16:12:41 +0800
Subject: [PATCH] 11
---
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