🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/learning/courseNumber` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |xd|是|string|学生处于的学段( 21:小学 31:初中 34:高中)|-| |xkid|是|string|学科id|-| |zsdid|是|string|父级zsdid,默认0|-| |type|是|string|exercise习题,material素材|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "1454554203871914499", "xd": "21", "xdmc": "小学", "kmmc": "历史", "kmid": "243", "zsdmc": "aaaaa", "pid": "0", "sort": "0", "update_time": "1465810873", "create_time": "1465810873", "level": "1", "status": "0", "type": "exercise", "all": "0",(全部课程数) "complete": "0"(已经完成课程数) }, { "id": "1454554203871914500", "xd": "21", "xdmc": "小学", "kmmc": "历史", "kmid": "243", "zsdmc": "aaaaaa", "pid": "0", "sort": "0", "update_time": "1465811782", "create_time": "1465811782", "level": "1", "status": "0", "type": "exercise", "all": "0", "complete": "0" } ] } ``` - error ```json { "ret": -1, "msg": "参数错误" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-10-30 13:40:06 * * * * *