123456789101112131415161718 |
- import { defHttp } from '/@/utils/http/axios';
- import { getMenuListByIdParams, getMenuListByIdParamsResultModel } from './model/menuModel';
- enum Api {
- GetMenuListById = '/getMenuListById',
- }
- /**
- * @description: 根据id获取用户菜单
- */
- export function getMenuListById(params: getMenuListByIdParams) {
- return defHttp.request<getMenuListByIdParamsResultModel>({
- url: Api.GetMenuListById,
- method: 'GET',
- params,
- });
- }
|