文档
测试

身份证识别

POST
http://zxb.hndaoben.com/api/work/code_identify?identity=2

请求头

参数名
类型
描述
必填
token
string
示例:96b156c4-e9e9-40f5-bd53-774fe400c536
必填

请求参数

参数名
类型
描述
必填
identity
int
示例:2
必填
img
string
示例:http://zxb.hndaoben.com/uploads/20210514/351d23e5b162fa05ee7f76db52a40a78.jpg
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1620972798
必填
data
object
数据字典
必填
code
int
示例:1
必填
data
object
数据字典
必填
姓名
object
数据字典
必填
words
string
示例:苏艳山
必填
location
object
数据字典
必填
top
int
示例:307
必填
left
int
示例:763
必填
width
int
示例:59
必填
height
int
示例:154
必填
民族
object
数据字典
必填
words
string
示例:汉
必填
location
object
数据字典
必填
top
int
示例:549
必填
left
int
示例:672
必填
width
int
示例:46
必填
height
int
示例:35
必填
住址
object
数据字典
必填
words
string
示例:河南省扶沟县古城乡贺楼行政村王曹庄村
必填
location
object
数据字典
必填
top
int
示例:293
必填
left
int
示例:416
必填
width
int
示例:119
必填
height
int
示例:482
必填
公民身份号码
object
数据字典
必填
words
string
示例:41272119900422225X
必填
location
object
数据字典
必填
top
int
示例:483
必填
left
int
示例:234
必填
width
int
示例:67
必填
height
int
示例:653
必填
出生
object
数据字典
必填
words
string
示例:19900422
必填
location
object
数据字典
必填
top
int
示例:289
必填
left
int
示例:582
必填
width
int
示例:47
必填
height
int
示例:399
必填
性别
object
数据字典
必填
words
string
示例:男
必填
location
object
数据字典
必填
top
int
示例:298
必填
left
int
示例:669
必填
width
int
示例:47
必填
height
int
示例:45
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1620972798
必填
data
object
数据字典
必填
code
int
示例:1
必填
data
object
数据字典
必填
姓名
object
数据字典
必填
words
string
示例:苏艳山
必填
location
object
数据字典
必填
top
int
示例:307
必填
left
int
示例:763
必填
width
int
示例:59
必填
height
int
示例:154
必填
民族
object
数据字典
必填
words
string
示例:汉
必填
location
object
数据字典
必填
top
int
示例:549
必填
left
int
示例:672
必填
width
int
示例:46
必填
height
int
示例:35
必填
住址
object
数据字典
必填
words
string
示例:河南省扶沟县古城乡贺楼行政村王曹庄村
必填
location
object
数据字典
必填
top
int
示例:293
必填
left
int
示例:416
必填
width
int
示例:119
必填
height
int
示例:482
必填
公民身份号码
object
数据字典
必填
words
string
示例:41272119900422225X
必填
location
object
数据字典
必填
top
int
示例:483
必填
left
int
示例:234
必填
width
int
示例:67
必填
height
int
示例:653
必填
出生
object
数据字典
必填
words
string
示例:19900422
必填
location
object
数据字典
必填
top
int
示例:289
必填
left
int
示例:582
必填
width
int
示例:47
必填
height
int
示例:399
必填
性别
object
数据字典
必填
words
string
示例:男
必填
location
object
数据字典
必填
top
int
示例:298
必填
left
int
示例:669
必填
width
int
示例:47
必填
height
int
示例:45
必填