wupengfei
1 天以前 176f0185c2b76cba8de4fc7b81260e7f68c51495
packages/services/apiV2/auth.ts
@@ -81,6 +81,23 @@
  });
}
/** 查询企业用户登录信息 GET /api/user/auth/getEnterpriseLoginInfo */
export async function getEnterpriseLoginInfo(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseLoginInfoParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseLoginInfoQueryResult>('/api/user/auth/getEnterpriseLoginInfo', {
    method: 'GET',
    params: {
      ...params,
      request: undefined,
      ...params['request'],
    },
    ...(options || {}),
  });
}
/** 查询个人用户登录信息 GET /api/user/auth/getPersonalLoginInfo */
export async function getPersonalLoginInfo(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
@@ -115,7 +132,7 @@
  body: API.RegisterPersonalUserCommand,
  options?: API.RequestConfig
) {
  return request<boolean>('/api/user/auth/registerPersonalUser', {
  return request<API.LoginCommandCallback>('/api/user/auth/registerPersonalUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',