wupengfei
1 天以前 e372854c71bc97d162452cc4b3f5cfa586da50a8
packages/services/api/Account.ts
@@ -25,12 +25,9 @@
  });
}
/** life pay手机验证码登录 POST /api/Account/LifePayPhoneMesssageCodeLogin */
export async function lifePayPhoneMesssageCodeLogin(
  body: API.LifePayPhoneMesssageCodeLoginInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', {
/** 此处后端没有提供注释 POST /api/Account/GetTokenForWeb */
export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
@@ -40,6 +37,42 @@
  });
}
/** life pay手机验证码登录 POST /api/Account/LifePayPhoneMesssageCodeLogin */
export async function lifePayPhoneMesssageCodeLogin(
  body: API.LifePayPhoneMesssageCodeLoginInput,
  options?: API.RequestConfig
) {
  return request<API.LifePayPhoneMesssageCodeLoginOutput>(
    '/api/Account/LifePayPhoneMesssageCodeLogin',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 根据用户ID获取用户是否为后台管理员 POST /api/Account/LifePayUserMesssageByIduser */
export async function lifePayUserMesssageByIduser(
  body: API.LifePayUserMesssageByIduserInput,
  options?: API.RequestConfig
) {
  return request<API.LifePayPhoneMesssageCodeLoginOutput>(
    '/api/Account/LifePayUserMesssageByIduser',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 此处后端没有提供注释 GET /api/accountAuth/GetCode */
export async function getCode(options?: API.RequestConfig) {
  return request<any>('/api/accountAuth/GetCode', {