🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## **获取值日生接口 getDutyUrl** **接口描述** * 获取值日生接口 **请求URL** * [xxx.com/xxx](http://xxx.com/xxx) **请求方式** * GET **请求参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | deviceId | string | 设备序列号 | **返回参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | week| number| 星期一,1| **返回示例** 新接口 ``` { "status": 0, "msg": "success", "data":[ { "week":"1", "studentList":[ { "studentId":"" }, { "studentId":"" } ] }, { "week":"2", "studentList":[ { "studentId":"" } ] } ] } ``` 以下是老接口 ``` { "status":0, "msg":"获取数据成功", "serverTime":"1286676610", "data":[ { "week":"1", "studentList":[ { "studentId":"", "faceUrl":"", "studentName":"" }, { "studentId":"", "faceUrl":"", "studentName":"" } ] }, { "week":"2", "studentList":[ { "studentId":"", "faceUrl":"", "studentName":"" } ] } ] } ```