From 2f5d1d00830bc8d966db7606939d3313e6e8361a Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Thu, 7 Mar 2024 12:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20sensitiveWo?= =?UTF-8?q?rd=20=E5=9C=A8=20IDEA=20=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/menu/index.ts | 2 +- src/api/system/role/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/system/menu/index.ts b/src/api/system/menu/index.ts index 1745cf36..36f9e387 100644 --- a/src/api/system/menu/index.ts +++ b/src/api/system/menu/index.ts @@ -29,7 +29,7 @@ export const listSimpleMenusApi = () => { } export const getSimpleMenusList = () => { - return request.get({ url: '/system/menu/list-all-simple' }) + return request.get({ url: '/system/menu/simple-list' }) } // 查询菜单列表 diff --git a/src/api/system/role/index.ts b/src/api/system/role/index.ts index 0d477555..288da0d8 100644 --- a/src/api/system/role/index.ts +++ b/src/api/system/role/index.ts @@ -29,7 +29,7 @@ export const getRolePageApi = async (params: RolePageReqVO) => { // 查询角色(精简)列表 export const listSimpleRolesApi = async () => { - return await request.get({ url: '/system/role/list-all-simple' }) + return await request.get({ url: '/system/role/simple-list' }) } // 查询角色详情