1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 文字识别身份证背面 POST /api/common/ocrUtils/getIdentityBackOcr */
| export async function getIdentityBackOcr(
| body: API.GetIdentityBackOcrCommand,
| options?: API.RequestConfig
| ) {
| return request<API.GetIdentityBackOcrCommandResult>('/api/common/ocrUtils/getIdentityBackOcr', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 文字识别身份证正面 POST /api/common/ocrUtils/getIdentityFrontOcr */
| export async function getIdentityFrontOcr(
| body: API.GetIdentityFrontOcrCommand,
| options?: API.RequestConfig
| ) {
| return request<API.GetIdentityFrontOcrCommandResult>('/api/common/ocrUtils/getIdentityFrontOcr', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 文字识别营业执照 POST /api/common/ocrUtils/getLicenseOcr */
| export async function getLicenseOcr(body: API.GetLicenseOcrCommand, options?: API.RequestConfig) {
| return request<API.GetLicenseOcrCommandResult>('/api/common/ocrUtils/getLicenseOcr', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|