企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/chapter/trees` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |sys|否|string|系统还是自定义 sys系统 usr自定义|''| |gzxz|否|int|高中学制|-| |id|否|int|章节的父级id|-| |back|否|int|是否是后台使用,1是 0否|-| |lv|否|int|章节层级,后台调用时传参|''| |schoolid|否|int|学校id|-| |xxxz|否|int|小学学制|-| |czxz|否|int|初中学制|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "2", "name": "八年级(4年学制)", "pid": "1", "xd": "31", "code": "31_3", "ext": "sys", "schoolid": "0", "isParent": "true" }, { "id": "21599", "name": "八年级(3年学制)", "pid": "1", "xd": "31", "code": "31_2", "ext": "sys", "schoolid": "0", "isParent": "true" }, { "id": "27", "name": "九年级(4年学制)", "pid": "1", "xd": "31", "code": "31_4", "ext": "sys", "schoolid": "0", "isParent": "true" }, { "id": "6150", "name": "九年级(3年学制)", "pid": "1", "xd": "31", "code": "31_3", "ext": "sys", "schoolid": "0", "isParent": "true" }, { "id": "52", "name": "高中部(3年学制)", "pid": "1", "xd": "34", "code": "34_0", "ext": "sys", "schoolid": "0", "isParent": "true" } ] } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-07-07 09:07:26 * * * * *