From 4a92d33eb3157e8f31d4429eead1c7dfd3cacc13 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 31 十二月 2024 18:45:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/system/app/index.ts | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/api/system/app/index.ts b/src/api/system/app/index.ts index d247a19..b783842 100644 --- a/src/api/system/app/index.ts +++ b/src/api/system/app/index.ts @@ -24,9 +24,14 @@ return request.get({ url: '/system/app/page', params }) } -// 查询列表 +// 查询所拥有应用列表 export const getAppList = () => { - return request.get({ url: '/system/app/getAppList' }) + return request.get({ url: '/system/auth/get-app-permission' }) +} + +// 查询所拥有应用菜单列表 +export const getAppMenuList = (id) => { + return request.get({ url: '/system/auth/get-app-menu-permission?id=' + id }) } // 获得 -- Gitblit v1.9.3