💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/parent/exercises` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |xtid|是|bigint|习题id|-| |classid|否|bigint|班级id|-| |ytlx|否|int|用途类型|-| |yxzt|否|int|预习状态 1 预习中 2预习完毕|-| |step|否|int|预习到第几步|-| |hwid|否|bigint|作业id|-| |uid|否|bigint|用户id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "tg": "<p>数学判断题一:三角形很稳定!</p>", "dajx": "<p>问答题答案解析</p>", "option": [ { "id": "1002143806348317580", "xtid": "1002143806348297762", "xx": "A", "xxtpdz": "", "description": "选项A98178934781", "sort": "0" }, { "id": "1002143806348317639", "xtid": "1002143806348297762", "xx": "B", "xxtpdz": "", "description": "选项B", "sort": "0" }, { "id": "1002143806348317696", "xtid": "1002143806348297762", "xx": "C", "xxtpdz": "", "description": "选项C", "sort": "0" }, { "id": "1002143806348317751", "xtid": "1002143806348297762", "xx": "D", "xxtpdz": "", "description": "选项D", "sort": "0" } ], "answer": "1002143813584628850", "dastr": "", "xsdastr": "", "is_true": "1", "show": 0 // 是否显示正确答案和答案解析,0不显示,1显示 } ``` - error ```json { "ret": -1, "msg": "参数错误", } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| |show|int|是否显示正确答案和答案解析,0不显示,1显示| --: 该接口最后修订时间:2017-09-05 09:47:33 * * * * *