权限重构

This commit is contained in:
Teo
2025-08-28 03:35:18 +08:00
parent f637e65635
commit b59bd89e43
15 changed files with 293 additions and 89 deletions

View File

@ -68,3 +68,11 @@ export const delMenu = (menuId: string | number) => {
method: 'delete'
});
};
// 获取所有路由
export const getAllRouters = () => {
return request({
url: '/system/menu/getAllRouters',
method: 'get'
});
};