🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## **获取学生接口信息 getStudentUrl** **接口描述** * 获取学生列表,需要返回学生的头像和卡号,值得注意的是:**使用人脸识别我们调用的方法,把人脸数据转卡号完成考勤** **请求URL** * [xxx.com/xxx](http://xxx.com/xxx) **请求方式** * GET **请求参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | deviceId | string | 设备序列号 | **返回参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | name| string | 学生名字| | cardCode| string | 学生卡号| | faceUrl| string | 人脸头像url| **返回示例** ``` { "status": 0, "msg": "success", "data": [ { "id": "1", "name": "张飞", "cardCode": "8888888888", "faceUrl": "abc.jpg" } ] } ``` 以下是老接口 ``` { "status": 0, "msg": "获取卡号数据成功", "data": [ { "id": "1", "name": "张飞", "type": "1", "cardStatus": "0", "cardCode": "0632844048", "studentId": "1", "studentType": "1", "faceUrl": "abc.jpg", "classId": "15", "relationship": "爸爸", "fingerCards": [ "", "" ], "carCards": [ "", "" ], "IdCard": "" } ], "serverTime": "1535701094147" } ```