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 const getMenuList = () => { return defHttp.get({ url: Api.GetMenuList }) }