wupengfei
2 天以前 5cc0cbeb28fa80bb734f007248eca2a4c69172c4
src/services/api/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',
@@ -152,6 +169,21 @@
  });
}
/** 解绑微信小程序快捷登录 POST /api/user/auth/unBindUserWxmpId */
export async function unBindUserWxmpId(
  body: API.UnBindUserWxmpIdCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/auth/unBindUserWxmpId', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 发送更换手机号短信 POST /api/user/auth/updatePhoneNumberVerifyCode */
export async function updatePhoneNumberVerifyCode(
  body: API.UpdatePhoneNumberVerifyCodeCommand,