wupengfei
8 小时以前 47047d626ea8fab28c04e6534fe6ffa3dc61de69
packages/services/apiV2/auth.ts
@@ -32,6 +32,21 @@
  });
}
/** 选择微信手机号 POST /api/user/auth/chooseWxmpPhoneNumber */
export async function chooseWxmpPhoneNumber(
  body: API.ChooseWxmpPhoneNumberCommand,
  options?: API.RequestConfig
) {
  return request<boolean>('/api/user/auth/chooseWxmpPhoneNumber', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取阿里云OSS授权信息 GET /api/user/auth/getAliyunOSSAcs */
export async function getAliyunOSSAcs(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
@@ -169,6 +184,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,