From bfdb9298d906c0dc262d0d441ac5b91d44f1e8a8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 14 五月 2024 11:31:20 +0800
Subject: [PATCH] 11

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

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 2804676..7aab383 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -53,8 +53,8 @@
 // 淇敼閮ㄩ棬
 export function updateDept(data) {
   return request({
-    url: '/system/dept',
-    method: 'put',
+    url: '/system/dept/edit',
+    method: 'post',
     data: data
   })
 }
@@ -62,7 +62,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