From 4c37374149d56aef3f0a923dd5f41f9a01839500 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 18 一月 2024 11:48:58 +0800 Subject: [PATCH] 提交代码 --- Source/UBCS-WEB/src/api/system/classifyAuth.js | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/classifyAuth.js b/Source/UBCS-WEB/src/api/system/classifyAuth.js index 1955f55..179fb9f 100644 --- a/Source/UBCS-WEB/src/api/system/classifyAuth.js +++ b/Source/UBCS-WEB/src/api/system/classifyAuth.js @@ -16,4 +16,24 @@ method: 'post', data: data }) -} \ No newline at end of file +} + +export const getAuthButtonList = (params) => { + return request({ + url: '/api/ubcs-system/classifyAuth/getAuthButtonList', + method: 'get', + params: { + ...params + } + }) +} +//鑿滃崟瑙掕壊鎸夐挳鏉冮檺 +export const getButtonsByRoleId = (params) => { + return request({ + url: '/api/ubcs-system/menu/getButtonsByRoleId', + method: 'get', + params: { + ...params + } + }) +} -- Gitblit v1.9.3