From faf390d83ae9f52e3ffa173ddd28c7fd23aea92e Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 02 Dec 2025 16:10:11 +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