ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/v2homework/getexercise` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |showtype|是|string|精品资源5,我的资源1,我收藏的2,校本资源3,联盟校资源4|-| |jieid|是|string|章节id|-| |schoolid|是|string|学校id|-| |order|是|string|排序方式|-| |tx|否|string|题型|-| **返回示例** - success ```json { "ret": 0, "msg": "操作成功~", "data": { "nowPage": 1, "data": [{ "id": "1000155297288587608", "fbrxm": "校长", "tg": "1破iu", "uid": "1033145705652156254", "create_time": 1552972885, "update_time": 1552987123, "tx": "tkt", "dastr": "<span style=\"color:#333;\">空1:<\/span> 1<br><span style=\"color:#333;\">空2:<\/span> 2<br>", "dajx": "3", "answer_total": 1, "quote_total": 3, "collect_total": 0, "sys": 3, "fxfw": 5, "fxd": "0", "sys_type": 4, "nyd": 1, "da": "", "is_auto": 0, "attachment": 0, "xts": "2", "resource_id": "1000155297288587608", "xkid": "2887", "njid": "3129", "bbid": "3130", "sxcid": "3131", "dyid": "3132", "jieid": "3133", "children": [], "nydstr": "较易", "txstr": "填空题", "tx_code": "2", "tx_tip": "正确答案", "options": [{ "id": "100015529728854501", "topid": "1000155297288587608", "xtid": "1000155297288587608", "xx": "1", "xxtpdz": null, "description": "1", "is_auto": 1, "type": 1, "sort": 1, "check": false }, { "id": "100015529728858802", "topid": "1000155297288587608", "xtid": "1000155297288587608", "xx": "2", "xxtpdz": null, "description": "2", "is_auto": 0, "type": 1, "sort": 2, "check": false }], "daoptions": [{ "id": "100015529728854501", "topid": "1000155297288587608", "xtid": "1000155297288587608", "xx": "1", "xxtpdz": null, "description": "1", "is_auto": 1, "type": 1, "sort": 1, "check": false }, { "id": "100015529728858802", "topid": "1000155297288587608", "xtid": "1000155297288587608", "xx": "2", "xxtpdz": null, "description": "2", "is_auto": 0, "type": 1, "sort": 2, "check": false }], "zsdmc": "被动语态与系表结构的区别", "count": "1", "review": "1", "unreview": "0", "accuracy": "35", "bjcount": 0, "bjreview": 0, "bjunreview": 0, "bjaccuracy": 0 }, { "id": "1000155296581208656", "fbrxm": "校长", "tg": "123", "uid": "1033145705652156254", "create_time": 1552965812, "update_time": 1552965812, "tx": "smbd", "dastr": "3333", "dajx": "4444", "answer_total": 1, "quote_total": 3, "collect_total": 0, "sys": 3, "fxfw": 5, "fxd": "0", "sys_type": 4, "nyd": 1, "da": "", "is_auto": 0, "attachment": 0, "xts": 0, "resource_id": "1000155296581208656", "xkid": "2887", "njid": "3129", "bbid": "3130", "sxcid": "3131", "dyid": "3132", "jieid": "3133", "children": [], "nydstr": "较易", "txstr": "书面表达", "tx_code": "3", "tx_tip": "参考答案", "options": [{ "id": "100015529658127001", "topid": "1000155296581208656", "xtid": "1000155296581208656", "xx": "1", "xxtpdz": null, "description": "3333", "is_auto": 0, "type": 1, "sort": 1, "check": false }], "daoptions": [{ "id": "100015529658127001", "topid": "1000155296581208656", "xtid": "1000155296581208656", "xx": "1", "xxtpdz": null, "description": "3333", "is_auto": 0, "type": 1, "sort": 1, "check": false }], "zsdmc": "被动语态与系表结构的区别", "count": "1", "review": "1", "unreview": "0", "accuracy": "40", "bjcount": 0, "bjreview": 0, "bjunreview": 0, "bjaccuracy": 0 }], "totalRows": 107, "count": 107, "totalPages": 11 } } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2019-03-27 17:25:00 * * * * *