mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2025-12-30 05:12:24 +00:00
19 lines
443 B
TypeScript
19 lines
443 B
TypeScript
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,
|
|
});
|
|
}
|