ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/course/lists` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |startTime|否|string|上课时间开始日期(格式:2014-01-01 00:00:00)(不传为当前日期0点开始)|null| |endTime|否|string|上课时间结束日期(格式:2014-1-31 23:59:59)(不传为当前日期23点59分59秒结束)|null| |uid|否|bigint|老师uid(不传时为当前用户uid)|null| |classid|是|bigint|班级id|null| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "100314492090715118", "zys": "1", "title": "2015-12-4 品德与生活(社会)作业", "xkid": "705", "njid": "706", "fbrxm": "nara", "fxd": "0", "uid": "1003144556551481010", "schoolid": "1003143928620085746", "create_time": "1449209071", "update_time": "1449219489", "status": "0", "areaid": "370613", "sys_code": "1003", "bjid": "1003144196183219933", "finish_time": "1449244799", "lx": "1", "xkcode": "705", "xkname": "品德与生活(社会)", "njcode": "21_1", "njname": "一年级", "color": "sxpd" }, { "id": "1003144653245311222", "zys": "3", "title": "多选题", "xkid": "705", "njid": "706", "fbrxm": "nara", "fxd": "0", "uid": "1003144556551481010", "schoolid": "1003143928620085746", "create_time": "1446532453", "update_time": "1446532453", "status": "0", "areaid": "370613", "sys_code": "1003", "bjid": "1003144196183219933", "finish_time": "1449244799", "lx": "1", "xkcode": "705", "xkname": "品德与生活(社会)", "njcode": "21_1", "njname": "一年级", "color": "sxpd" }, ...... ] } ``` - error ```json { "msg": "参数错误或者未定义", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-09-11 17:38:46 * * * * *