| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询银行卡识别 POST /api/common/ocrUtils/getBankOcr */ |
| | | export async function getBankOcr(body: API.GetBankOcrCommand, options?: API.RequestConfig) { |
| | | return request<API.GetBankOcrCommandResult>('/api/common/ocrUtils/getBankOcr', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 文字识别身份证背面 POST /api/common/ocrUtils/getIdentityBackOcr */ |
| | | export async function getIdentityBackOcr( |
| | | body: API.GetIdentityBackOcrCommand, |