From 8d1d323cc04712dc874e7b58341622abaf21afd7 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 26 Nov 2025 09:46:35 +0800
Subject: [PATCH] feat:生产环境限制
---
src/api/system/role.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/api/system/role.js b/src/api/system/role.js
index ef57e36..aaae6bb 100644
--- a/src/api/system/role.js
+++ b/src/api/system/role.js
@@ -11,10 +11,20 @@
},
});
};
-export const grantTree = () => {
+
+export const getRoleList = ( params) => {
+ return request({
+ url: '/blade-system/role/getRoleList',
+ method: 'get',
+ params: params
+ });
+};
+
+export const grantTree = (params) => {
return request({
url: '/blade-system/menu/grant-tree',
method: 'get',
+ params
});
};
--
Gitblit v1.9.3