多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/teacher/xkGrades` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |xkid|是|string|学科id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "12588", "name": "高一", "code": "34_1", "pid": "1071", "type": "Grade", "xd": "34", "nj": "1", "subject": "1071", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "3", "schoolid": "0", "sort": "0", "ext": "sys" }, { "id": "1072", "name": "一年级", "code": "21_1", "pid": "1071", "type": "Grade", "xd": "21", "nj": "1", "subject": "1071", "grade": "0", "publisher": "0", "volume": "0", "section": "0", "xz": "5", "schoolid": "0", "sort": "1", "ext": "sys" }, ...... ] } ``` - error ```json { "msg": "未获取到学科信息", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-23 15:46:45 * * * * *