From 8217c63d1610a9d89419c69947beb4fb3bb7c7e4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 20 五月 2026 17:03:05 +0800
Subject: [PATCH] style(frontend): 格式化代码缩进并增强API调用安全性
---
src/api/system/role.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/api/system/role.js b/src/api/system/role.js
index 7710cc2..528cd18 100644
--- a/src/api/system/role.js
+++ b/src/api/system/role.js
@@ -109,3 +109,11 @@
params: data
})
}
+
+// 鏍规嵁瑙掕壊ID鏌ヨ閮ㄩ棬鏍戠粨鏋�
+export function deptTreeSelect(roleId) {
+ return request({
+ url: '/system/role/deptTree/' + roleId,
+ method: 'get'
+ })
+}
--
Gitblit v1.9.3