From 8d0f7fcc4a961a6a2cd969171066f652cc8e736f Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 18 四月 2025 16:56:52 +0800
Subject: [PATCH] 测试完成

---
 src/api/system/user.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index e68cb47..5d4f895 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -128,7 +128,7 @@
 // 淇濆瓨鎺堟潈瑙掕壊
 export function updateAuthRole(data) {
   return request({
-    url: "/system/user/authRole",
+    url: "/system/user/authRole/insertAuthRole",
     method: "post",
     data: data,
   });
@@ -142,10 +142,14 @@
 }
 
 // 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
-export function deptTreeSelect() {
+export function deptTreeSelect(type) {
+  const data = {
+    deptType:type,
+  };
   return request({
     url: "/system/user/deptTree",
     method: "get",
+    params: data,
   });
 }
 // 鏂板绉戝/鐥呭尯

--
Gitblit v1.9.3