|
1
2
3
4
5
6
7
8
|
import { defHttp } from '/@/utils/http/axios';
import { getMenuListByIdParams, getMenuListByIdParamsResultModel } from './model/menuModel';
enum Api {
GetMenuListById = '/getMenuListById',
}
/**
|
vben
authored
|
9
|
* @description: Get user menu based on id
|
|
10
|
*/
|
Vben
authored
|
11
12
|
export const getMenuListById = (params: getMenuListByIdParams) => {
|
Vben
authored
|
13
|
return defHttp.get<getMenuListByIdParamsResultModel>({ url: Api.GetMenuListById, params });
|
Vben
authored
|
14
|
};
|