🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/teacher/xkLists` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "1", "name": "化学", "code": "1", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "243", "name": "历史", "code": "243", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "1071", "name": "语文", "code": "1071", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "2099", "name": "数学", "code": "2099", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "2887", "name": "英语", "code": "2887", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "3248", "name": "地理", "code": "3248", "pid": "0", "type": "Subject", "xd": "0", "nj": "0", "subject": "0", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "0", "schoolid": "0", "sort": "0", "ext": "sys" } ] } ``` - error ```json { "ret": -1, "msg": "未知错误", } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-23 15:45:28 * * * * *