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' }) } // 查询角色详情