refactor: 重构角色管理

This commit is contained in:
2025-02-06 20:25:52 +08:00
parent 1c743fb097
commit cfa20ac765
19 changed files with 1037 additions and 713 deletions

View File

@@ -6,7 +6,7 @@ export type * from './type'
const BASE_URL = '/system/menu'
/** @desc 查询菜单列表 */
export function listMenu(query: T.MenuQuery) {
export function listMenu(query?: T.MenuQuery) {
return http.get<T.MenuResp[]>(`${BASE_URL}/tree`, query)
}