## **获取卡号接口信息 getStudentInfo**
**接口描述**
获取系统内卡号
**请求URL**
* [xxx.com/xxx](http://xxx.com/xxx)
**请求方式**
* GET
**请求参数**
| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| deviceId | string | 设备序列号 |
**返回参数**
| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| status| string | 0,成功,非0,失败|
| cardStatus| string | 卡号状态,0可用 |
| cardCode| string | 卡号 |
| id| string | 系统卡号id |
| studentId| string | 学生id 如果是老师,不传此字段||
| type| string | 类型,1学生;2老师 |
| studentType| string | 学生1住校 2走读 3其他 如果是老师,不传此字段|
| faceUrl | string | 头像地址 |
| classId| string | 班级id 如果是老师,不传此字段| |
| name| string | 姓名 |
| relationship| string | 关系:爸爸、妈妈 |
| fingerCards| Array | 指纹 |
| carCards | Array |车牌 |
| IdCard | string |身份证 |
| sex| string | 类型,1男;2女|
**返回示例**
```
{
"status": 0,
"msg": "success",
"data": [
{
"id": "1",
"name": "张飞",
"type": "1",
"cardStatus": "0",
"cardCode": "0632844048",
"studentId": "1",
"studentType": "1",
"faceUrl": "abc.jpg",
"classId": "15",
"relationship": "爸爸",
"fingerCards": [
"",
""
],
"carCards": [
"",
""
],
"IdCard": ""
}
]
}
```