NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## **获取一周课程表接口 getTimetableUrl** **接口描述** * 获取一周课程表接口 **请求URL** * [xxx.com/xxx](http://xxx.com/xxx) **请求方式** * GET **请求参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | deviceId | string | 设备序列号 | **返回参数** | 参数名 | 类型 | 说明 | | --- | --- | --- | | course| string | 课目 | | courseList| array | 课程列表| | timeId| string | 作息时间id| | week| number| 星期一,1| **返回示例** ``` { "status": 0, "msg": "success", "data": [ { "week": "1", "courseList": [ { "id": "", "type": "", "courseId": "", "teacherId": "", "timeId": "" } ] }, { "week": "2", "courseList": [ { "id": "", "type": "", "courseId": "", "teacherId": "", "timeId": "" } ] } ] } ``` 一下是老接口 ``` { "id":"", "courseId":"", "courseName":"", "teacherId":"", "teacherName":"", "startTime":"", "endTime":"" } ```