zhengyiming
3 天以前 dd0a3e0ed394983c4fbacdab64cad6f8de5b4884
packages/services/apiV2/auth.ts
@@ -19,6 +19,21 @@
  });
}
/** 获取当前登录用户菜单详情 GET /api/user/auth/getCurrentLogierMenu */
export async function getCurrentLogierMenu(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCurrentLogierMenuParams,
  options?: API.RequestConfig
) {
  return request<API.GetMenuQueryResult>('/api/user/auth/getCurrentLogierMenu', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 获取当前登录用户菜单 GET /api/user/auth/getCurrentLogierMenus */
export async function getCurrentLogierMenus(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)