16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
import { defHttp } from '@/utils/http/axios';
|
|
|
|
import { getMenuListResultModel } from './model/menuModel';
|
|
|
|
enum Api {
|
|
GetMenuList = '/system/auth/list-menus',
|
|
}
|
|
|
|
/**
|
|
* @description: Get user menu based on id
|
|
*/
|
|
|
|
export function getMenuList() {
|
|
return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList });
|
|
}
|