企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/parent/courses` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|bigint|用户id|-| |classid|是|string|班级id|-| |xkid|否|bigint|学科id|-| |p|否|int|页码|1| |num|否|int|每页的条数,默认每页10条|10| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "title": "一去二三里", "id": "1003145561868845316", "ks": "", "kclx": "2", "jieid": "1076", "bbid": "1073", "sxcid": "1074", "dyid": "1075", "xkid": "1071", "schoolid": "1002143798597099273", "bjid": "100014551795176418", "skrq": "1455618696", "xkname": "语文", "jiename": "一去二三里", "ksmc": "", "color": "#f8c000", "style": "chinese", "rightper": { "date": "1455618696", "finish": 1, "wdwdt": 0, "ydwdt": 0, "ytlx": 2, "zqts": 0, "cwts": 0, "sum": 0, "bdts": 0, "wpts": 0, "rightper": 0, "kcid": "1003145561868845316", "xtcount": 0, "wdcount": 0, "kgcount": 0, "info": "暂无相关习题" } }, { "title": "一去二三里", "id": "1003145561868845316", "ks": "", "kclx": "2", "jieid": "1076", "bbid": "1073", "sxcid": "1074", "dyid": "1075", "xkid": "1071", "schoolid": "1002143798597099273", "bjid": "1003143997295184793", "skrq": "1455618696", "xkname": "语文", "jiename": "一去二三里", "ksmc": "", "color": "#f8c000", "style": "chinese", "rightper": { "date": "1455618696", "finish": 1, "wdwdt": 0, "ydwdt": 0, "ytlx": 2, "zqts": 0, "cwts": 0, "sum": 0, "bdts": 0, "wpts": 0, "rightper": 0, "kcid": "1003145561868845316", "xtcount": 0, "wdcount": 0, "kgcount": 0, "info": "暂无相关习题" } }, ...... ] } ``` - error ```json { "ret": -1, "msg": "参数错误" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-10-23 10:41:31 * * * * *