|
@@ -12,7 +12,6 @@
|
12
|
12
|
| liveCode | String| 否 | 传入对比数据为视频并选择LIP模式时必传,参数为数字验证码接口获取的参数 |
|
13
|
13
|
| --- | --- | --- | --- |
|
14
|
14
|
| image | -| - | 作为对比参照的客户照片 |
|
15
|
|
-| type | String| 是 | 固定传"image" |
|
16
|
15
|
| origin | String| 否 | image的数据类型。<br/> base64字符串:self<br/>来自文件服务器:fds (**带压缩效果,推荐使用,详见[fds使用文档](../file/文件服务器接口.md))**<br/>图片链接:uri <br/>默认为 self |
|
17
|
16
|
| data | String| 是 | 图片数据(base64,文件服务器文件路径或链接) |
|
18
|
17
|
| --- | --- | --- | --- |
|
|
@@ -41,7 +40,18 @@
|
41
|
40
|
|
42
|
41
|
```
|
43
|
42
|
{
|
44
|
|
-
|
|
43
|
+ "async":false,
|
|
44
|
+ "liveCode":"1232",
|
|
45
|
+ "image":{
|
|
46
|
+ "origin":"fds",
|
|
47
|
+ "data":"xxxxxxxxxxxxxx.jpg"
|
|
48
|
+ },
|
|
49
|
+ "faceData":{
|
|
50
|
+ "type":"video",
|
|
51
|
+ "videoType":"SILENT",
|
|
52
|
+ "origin":"fds",
|
|
53
|
+ "data":"xxxxxxxxxxxxxx.mp4"
|
|
54
|
+ }
|
45
|
55
|
}
|
46
|
56
|
```
|
47
|
57
|
|
|
@@ -51,7 +61,14 @@
|
51
|
61
|
{
|
52
|
62
|
"errcode":0,
|
53
|
63
|
"data":{
|
54
|
|
-
|
|
64
|
+ "status":"SUCCESS",
|
|
65
|
+ "traceNo":"45646513218465123",
|
|
66
|
+ "result":{
|
|
67
|
+ "isSccess":"true",
|
|
68
|
+ "score":"99"
|
|
69
|
+ },
|
|
70
|
+
|
|
71
|
+
|
55
|
72
|
},
|
56
|
73
|
"errmsg":"SUCCESS"
|
57
|
74
|
}
|
|
@@ -91,7 +108,16 @@
|
91
|
108
|
|
92
|
109
|
```
|
93
|
110
|
{
|
94
|
|
-
|
|
111
|
+ "async":false,
|
|
112
|
+ "idNum":"身份证号码",
|
|
113
|
+ "name":"姓名",
|
|
114
|
+ "liveCode":"1232",
|
|
115
|
+ "faceData":{
|
|
116
|
+ "type":"video",
|
|
117
|
+ "videoType":"SILENT",
|
|
118
|
+ "origin":"fds",
|
|
119
|
+ "data":"xxxxxxxxxxxxxx.mp4"
|
|
120
|
+ }
|
95
|
121
|
}
|
96
|
122
|
```
|
97
|
123
|
|
|
@@ -101,7 +127,14 @@
|
101
|
127
|
{
|
102
|
128
|
"errcode":0,
|
103
|
129
|
"data":{
|
104
|
|
-
|
|
130
|
+ "status":"SUCCESS",
|
|
131
|
+ "traceNo":"45646513218465123",
|
|
132
|
+ "result":{
|
|
133
|
+ "isSccess":"true",
|
|
134
|
+ "score":"99"
|
|
135
|
+ },
|
|
136
|
+
|
|
137
|
+
|
105
|
138
|
},
|
106
|
139
|
"errmsg":"SUCCESS"
|
107
|
140
|
}
|
|
@@ -131,7 +164,7 @@
|
131
|
164
|
|
132
|
165
|
```
|
133
|
166
|
{
|
134
|
|
- "refreshToken":""
|
|
167
|
+
|
135
|
168
|
}
|
136
|
169
|
```
|
137
|
170
|
|
|
@@ -141,7 +174,13 @@
|
141
|
174
|
{
|
142
|
175
|
"errcode":0,
|
143
|
176
|
"data":{
|
144
|
|
- "accessToken":""
|
|
177
|
+ "status":"SUCCESS",
|
|
178
|
+ "traceNo":"45646513218465123",
|
|
179
|
+ "result":{
|
|
180
|
+ "code":"2312
|
|
181
|
+ },
|
|
182
|
+
|
|
183
|
+
|
145
|
184
|
},
|
146
|
185
|
"errmsg":"SUCCESS"
|
147
|
186
|
}
|