Commit 397a0dcd by ZimLuck

Update OCR接口.md

1 parent d8ebd1e4
Showing with 18 additions and 5 deletions
<a name='client_hessian'></a>
<a name='client_hessian'></a>
......@@ -4,8 +4,8 @@
# 扬州-招行OCR和人脸认证接口
---
1. 请求报文
1. 请求报文格式示例
## 报文格式
1. 请求报文格式示例
```
{
......@@ -19,8 +19,8 @@
```
1. 应答报文
1. 应答报文格式示例
1. 应答报文格式示例
```
{
"result": {
......@@ -47,6 +47,7 @@
"httpurl": ""
}
```
1. 应答报文示例
```
{
......@@ -117,6 +118,7 @@
"httpurl": ""
}
```
1. 应答报文示例
```
{
......@@ -130,6 +132,7 @@
"xybw": "{\"code\":\"0000\",\"msg\":\"成功\",\"content\":{\"agtStr\":\"<p class='MsoNormal'><strong><span style='line-height:120%'></span>...</p>\"}}"
}
```
## 用户签约
1. 接口:esb_wl_test/service/zh/getFaceSignContract
1. 请求报文示例
......@@ -142,6 +145,7 @@
"httpurl": ""
}
```
1. 应答报文示例
```
{
......@@ -151,6 +155,7 @@
"xybw": "{\"code\":\"0000\",\"msg\":\"成功\",\"content\":null}"
}
```
## 人脸认证
1. 接口:esb_wl_test/service/zh/getFaceRecognition
1. 请求报文示例
......@@ -164,8 +169,10 @@
"httpurl": ""
}
```
1. 应答报文示例
1. 活体检测失败
```
{
"result": {
......@@ -176,7 +183,9 @@
"xybw": "{\"code\":\"0305070007\",\"msg\":\"活体检测失败\",\"content\":\"100939956931338240\"}"
}
```
1. 未发签约接口直接发人脸识别接口返回
```
{
"result": {
......@@ -187,6 +196,7 @@
"xybw": "{\"code\":\"0305070013\",\"msg\":\"用户未签署协议\",\"content\":null}"
}
```
1. 测试库不存在的数据
```
{
......@@ -198,6 +208,7 @@
"xybw": "{\"code\":\"0305070010\",\"msg\":\"照片不存在\",\"content\":\"100948140225985331\"}"
}
```
1. 成功示例报文
```
{
......@@ -209,3 +220,4 @@
"xybw": "{\"code\":\"0000\",\"msg\":\"成功\",\"content\":\"100948035164571648\"}"
}
```
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!