提交 | 用户 | age | ||
2f6253 | 1 | import { defHttp } from '/@/utils/http/axios'; |
9e5e63 | 2 | import { getMenuListResultModel } from './model/menuModel'; |
a821d9 | 3 | |
2f6253 | 4 | enum Api { |
9e5e63 | 5 | GetMenuList = '/getMenuList', |
2f6253 | 6 | } |
陈 | 7 | |
8 | /** | |
46e087 | 9 | * @description: Get user menu based on id |
2f6253 | 10 | */ |
a821d9 | 11 | |
9e5e63 | 12 | export const getMenuList = () => { |
N | 13 | return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList }); |
a821d9 | 14 | }; |