## **獲取服務器接口信息 getStudentInfo**
**接口描述**
* 獲取學生信息
**請求URL**
* [xxx.com/xxx](http://xxx.com/xxx)
**請求方式**
* GET
**請求參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| deviceId | string | 設備序列號 |
**返回參數**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| cardCode| string | 學生卡號 |
| id| string | 系統卡號id |
| studentId| string | 學生id |
| cardStatus| number| 卡號狀態0可用,1掛失卡|
| type| string | 類型,1學生;2老師 |
| studentType| string | 學生1住校 2走讀 3其他 |
| money| number| 卡內余額 |
| faceUrl | string | 頭像地址 |
| classId| string | 班級id |
| name| string | 姓名 |
| relationship| string | 關系:爸爸、媽媽 |
| fingerCards| string | 指紋 |
| carCards | string |車牌 |
**返回示例**
~~~
"status": 0,
"msg": "獲取卡號數據成功"
"data": [
{
"cardCode":"0632844048",//ic卡號
"id":"1",//卡號對應數據庫系統編號
"studentId":"1",//學生id
"cardStatus":"0"//0可用,1掛失卡
"type":"1",//類型,1學生;2老師
"studentType":"1",//1住校 2走讀 3其他
"
money":"1",//卡號內余額
"faceUrl":"abc.jpg",//卡號頭像地址
"classId":"15",//班級id
"sex":"1",//性別1男,2女
"name":"張飛",//老師或學生名字,如持卡非學生本人,也要傳對應學生名字
"relationship":"爸爸",//關系持卡人和學生的關系,直接返回漢字如“媽媽”,本人或老師傳空值
"fingerCards":"[
"指紋1",
"指紋2",
]"//指紋,最多10個
"carCards":"[
"車牌1",
"車牌2",
]"//車牌,最多10個
},
]
"serverTime": "1535701094147",
}
~~~