From b50917f4bdf0b05c028d76d8cdbde44a85ec8b91 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 27 八月 2024 16:02:53 +0800
Subject: [PATCH] 测试完成

---
 src/api/system/dept.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index fc943cd..c89329c 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -37,8 +37,8 @@
 // 淇敼閮ㄩ棬
 export function updateDept(data) {
   return request({
-    url: '/system/dept',
-    method: 'put',
+    url: '/system/dept/edit',
+    method: 'post',
     data: data
   })
 }
@@ -46,7 +46,7 @@
 // 鍒犻櫎閮ㄩ棬
 export function delDept(deptId) {
   return request({
-    url: '/system/dept/' + deptId,
-    method: 'delete'
+    url: '/system/dept/remove/' + deptId,
+    method: 'get'
   })
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3