ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/exercises/infos` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |ids|是|bigint|习题id(可以传多个,中间以英文逗号分割)|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "1002143807990059125", "tg": "dddddddddddd111111111111111", "tx": "pdt", "da": "1002143807990077200", "nyd": "0", "dajx": "1234", "zsd": null, "zsdid": null, "xkid": "1071", "njid": "8820", "bbid": "13484", "sxcid": "13509", "dyid": "13558", "jieid": "13932", "fbrxm": "门头沟管理员", "uid": "1002143804638357831", "sys_code": "1002", "areaid": "110109", "status": "-1", "update_time": "1438079899", "create_time": "1438079899", "is_use": "1", "schoolid": "1002143804554287036", "xtcode": "", "sys": "0", "quote_total": "0", "answer_total": "0", "collect_total": "0", "fbrxm_addr": "北京市 北京市 门头沟区 门头沟第十二中学 ", "fxfw": "0", "fxd": "0", "options": [ { "id": "1002143807990077200", "xtid": "1002143807990059125", "xx": "A", "xxtpdz": "", "description": "对", "sort": "0" }, { "id": "1002143807990077268", "xtid": "1002143807990059125", "xx": "B", "xxtpdz": "", "description": "错", "sort": "0" } ], "daoptions": [ { "id": "1002143807990077200", "xtid": "1002143807990059125", "xx": "A", "xxtpdz": "", "description": "对", "sort": "0" } ], "daxx": [ "A" ], "dastr": "A" }, ...... ] } ``` - error ```json { "msg": "习题不存在或已被删除!", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-10-23 11:08:06 * * * * *