From c327574106f470c72638e9f34c7f8cd26d78a2bf Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 24 一月 2024 23:48:36 +0800 Subject: [PATCH] 分类授权,数据授权接口修改 --- Source/UBCS-WEB/src/api/system/menu.js | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/menu.js b/Source/UBCS-WEB/src/api/system/menu.js index 7547aa0..febcde5 100644 --- a/Source/UBCS-WEB/src/api/system/menu.js +++ b/Source/UBCS-WEB/src/api/system/menu.js @@ -36,6 +36,16 @@ }) } +export const getButtonByParentCode = (params) => { + return request({ + url: '/api/ubcs-system/menu/getButtonByParentCode', + method: 'get', + params: { + ...params + } + }) +} + export const getMenuList = (current, size, params) => { return request({ url: '/api/ubcs-system/menu/menu-list', @@ -106,3 +116,9 @@ topMenuId, } }); + +export const cloneMenuButton = (data) => request({ + url: '/api/ubcs-system/menu/cloneMenuButton', + method: 'post', + data: data +}); \ No newline at end of file -- Gitblit v1.9.3