| | |
| | | }); |
| | | } |
| | | |
| | | /** 第三方银行卡预留手机号验证 发送验证码 POST /api/Common/SendBankCardCertificationVerificationCode */ |
| | | export async function sendBankCardCertificationVerificationCode( |
| | | body: API.SendBankCardCertificationVerificationCodeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Common/SendBankCardCertificationVerificationCode', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 发送邮箱验证码 POST /api/Common/SendEmailVerificationCode */ |
| | | export async function sendEmailVerificationCode( |
| | | body: API.SendEmailVerificationCodeByBusinessTypeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Common/SendEmailVerificationCode', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 第三方手机号验证 发送验证码 POST /api/Common/SendPhoneCertificationVerificationCode */ |
| | | export async function sendPhoneCertificationVerificationCode( |
| | | body: API.SendPhoneCertificationVerificationCodeInput, |
| | |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 身份证OCR识别 识别身份证正反面信息。此接口按照调用次数单独计费 POST /api/Common/UserCredentialVerifyOcrIDCard */ |
| | | export async function userCredentialVerifyOcrIDCard( |
| | | body: API.UserCredentialVerifyOcrIDCardInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.UserCredentialVerifyOcrIDCardResponse>( |
| | | '/api/Common/UserCredentialVerifyOcrIDCard', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |