简要描述:
- ocr识别身份证
请求域名:
- http://xx.com
请求URL:
route=plugin.real-name-auth.frontend.auth.ocr-identification
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| url | true | string | 图片url |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"name": "1909996841186361731",
"id_card": "https://smlt.esign.cn/8jWTT1KQaR1z",
}
}
错误时返回:
{
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| 名称 | 类型 | 说明 |
| name | string | 姓名 |
| id_card | string | 身份证 |