多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/teacher/courses` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |p|否|int|显示页数|-| |num|否|int|每页显示条数|10| |is_push|否|int|1发送 2未发送 3全部|2| **返回示例** - success ```json { "ret": 0, "msg": "ok", "count": "17", "totalPages": 2, "totalRows": "17", "nowPage": 1, "data": [ { "id": "1003145534857495680", "kclx": "2", "title": "山中访友", "ks": "", "xkid": "1071", "njid": "8820", "bbid": "13484", "sxcid": "13509", "dyid": "13558", "jieid": "13932", "fbrxm": "开发管理", "fxd": "1002143798597099273", "fxfw": "1", "uid": "1003143997294121958", "ispush": "1", "schoolid": "1003143997288692791", "create_time": "1455348574", "update_time": "1455669979", "status": "0", "areaid": "370687", "sys_code": "1003", "collect_total": null, "quote_total": null, "comment_total": null, "ksname": "", "xkcode": "1071", "xkname": "语文", "njcode": "21_1", "njname": "一年级", "bbcode": "13484", "bbname": "人教新课标", "sxccode": "13509", "sxcname": "上册", "dycode": "13558", "dyname": "第一单元", "jiename": "识字(一) ", "color": "yuwen", "skrq": "2016-02-17", "classes_unsent": [ { "classname": "九班", "njmc": "2016", "bjid": "1003143997295184793", "uid": "1003143997294121958", "type": "1", "bjbm": "9", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "9", "xd": "21", "duty": "2", "bjmc": "2016级九班" }, { "classname": "123", "njmc": "2016", "bjid": "100014551795176418", "uid": "1003143997294121958", "type": "2", "bjbm": "h2IxZMkZKP", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "13", "xd": "31", "duty": "2", "bjmc": "2016级123", "skrq": "2016-02-17" }, { "classname": "三班", "njmc": "2015", "bjid": "1000145466799464975", "uid": "1003143997294121958", "type": "2", "bjbm": "PqwmZw6bet", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "16", "xd": "21", "duty": "2", "bjmc": "2015级三班" }, { "classname": "二班", "njmc": "2013", "bjid": "100014546727032090", "uid": "1003143997294121958", "type": "2", "bjbm": "VsAvd1jlrK", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "17", "xd": "21", "duty": "2", "bjmc": "2013级二班" }, { "classname": "一年级一班", "njmc": "2013", "bjid": "1000145527344788397", "uid": "1003143997294121958", "type": "1", "bjbm": "uHHj0MMaX7", "identitytype": "2", "schoolid": "1002143804554287036", "gradeid": "21", "xd": "21", "duty": "2", "bjmc": "2013级一年级一班" } ], "classes_sent": [ { "classname": "九班", "njmc": "2014", "bjid": "1000145466778522008", "uid": "1003143997294121958", "type": "2", "bjbm": "RxtSUWrLVh", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "15", "xd": "21", "duty": "2", "bjmc": "2014级九班", "skrq": "2016-02-17" } ] }, ...... ] } ``` - error ```json { "ret": -1, "msg" "未知错误" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-09-05 16:32:14 * * * * *