Blame view

src/api/sys/menu.ts 316 Bytes
陈文彬 authored
1
import { defHttp } from '/@/utils/http/axios';
2
import { getMenuListResultModel } from './model/menuModel';
陈文彬 authored
3
4

enum Api {
5
  GetMenuList = '/getMenuList',
陈文彬 authored
6
7
8
}

/**
vben authored
9
 * @description: Get user menu based on id
陈文彬 authored
10
 */
Vben authored
11
12
13
export const getMenuList = () => {
  return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList });
Vben authored
14
};