menu.ts 316 B

1234567891011121314
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { getMenuListResultModel } from './model/menuModel';
  3. enum Api {
  4. GetMenuList = '/getMenuList',
  5. }
  6. /**
  7. * @description: Get user menu based on id
  8. */
  9. export const getMenuList = () => {
  10. return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList });
  11. };