多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/correct/mobileExercisesIndex` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |tuid|是|string|老师uid|-| |hwid|是|string|作业id|-| |classid|是|string|批阅班级id|-| |xtid|是|string|批阅习题id|-| |ytlx|是|string|用途类型,1:基础,4拓展|-| |suid|否|string|学生uid|-| |sort|否|string|复合题或者填空题题号或者空号|-| **返回示例** - success ```json { "status": 1, "info": "操作成功~", "data": { "uid": "1033145705652158036", "hwid": " 1115432246451352310", "classid": "1000151720306561873", "xtid": "1000154322459256751", "ytlx": "1", "sort": "1", "exercisesInfo": { "id": "1000154322459256751", "tg": "试验探究--填空题 自动批阅", "keywords": "试验探究--填空题 自动批阅", "tx": "syytj", "da": "", "nyd": 2, "dajx": "无", "uid": "1033145705652156254", "fbrxm": "校长", "fbrxm_addr": null, "is_use": 1, "sys_type": 4, "res_type": 0, "is_auto": 0, "province": "370000", "city": "371400", "areaid": 371402, "schoolid": "1033144472596497620", "fxd": "1033144472596497620", "fxfw": 1, "answer_total": 10, "collect_total": 0, "quote_total": 3, "sys": 3, "attachment": 0, "xts": 2, "option_type": 1, "create_time": 1543224592, "update_time": 1543224592, "status": 0, "resource_id": "1000154322459256751", "xkid": "1", "njid": "52", "bbid": "53", "sxcid": "54", "dyid": "55", "jieid": "56", "children": [ { "id": "1000154322459260680", "topid": "1000154322459256751", "tg": "这是试验探究&nbsp;&nbsp;&nbsp;&nbsp;", "tx": "tkt", "da": "", "dajx": "填空题的答案解析", "is_auto": 1, "datatype": 1, "sort": 1, "attachment": 0, "options": [ { "id": "1000154322459211001", "topid": "1000154322459256751", "xtid": "1000154322459260680", "xx": "1", "xxtpdz": null, "description": "第一个", "is_auto": 1, "type": 1, "sort": 1, "description_rep": "第一个", "check": false }, { "id": "1000154322459294002", "topid": "1000154322459256751", "xtid": "1000154322459260680", "xx": "2", "xxtpdz": null, "description": "第一个", "is_auto": 1, "type": 1, "sort": 1, "description_rep": "第一个", "check": false } ], "daoptions": [ { "id": "1000154322459211001", "topid": "1000154322459256751", "xtid": "1000154322459260680", "xx": "1", "xxtpdz": null, "description": "第一个", "is_auto": 1, "type": 1, "sort": 1, "description_rep": "第一个", "check": false }, { "id": "1000154322459294002", "topid": "1000154322459256751", "xtid": "1000154322459260680", "xx": "2", "xxtpdz": null, "description": "第一个", "is_auto": 1, "type": 1, "sort": 1, "description_rep": "第一个", "check": false } ], "dastr": "<span style=\"color:#333;\">空1:</span> 第一个<br><span style=\"color:#333;\">空2:</span> 第一个<br>" }, { "id": "1000154322459260669", "topid": "1000154322459256751", "tg": "小题2", "tx": "wendt", "da": "", "dajx": "手动批阅", "is_auto": 0, "datatype": 1, "sort": 2, "attachment": 0, "options": [ { "id": "1000154322459270003", "topid": "1000154322459256751", "xtid": "1000154322459260669", "xx": "1", "xxtpdz": null, "description": "手动批阅", "is_auto": 0, "type": 1, "sort": 2, "description_rep": "手动批阅", "check": false } ], "daoptions": [ { "id": "1000154322459270003", "topid": "1000154322459256751", "xtid": "1000154322459260669", "xx": "1", "xxtpdz": null, "description": "手动批阅", "is_auto": 0, "type": 1, "sort": 2, "description_rep": "手动批阅", "check": false } ], "dastr": "手动批阅" } ], "nydstr": "一般", "txstr": "实验与探究", "tx_code": "5", "tx_tip": "正确答案", "zsdmc": "有关化学反应速率的计算" }, "ypList": [ { "uid": "1033145705652156256", "realname": "mmxsab", "face": "http://www.12xuetest.com/Common/images/face/big/online_student_m_0.jpg", "is_true": 2 }, { "uid": "1033145705652158036", "realname": "dsdsdsq", "face": "http://www.12xuetest.com/Common/images/face/big/online_student_m_1.jpg", "is_true": 2 } ], "dpList": [], "realname": "dsdsdsq", "studentAnswers": { "is_auto": 1, "is_true": 2, "is_unable": 0, "accuracy": 0, "score": 0, "scoreTotal": null, "has_imgs": 0, "xsdaobj": [ { "is_txt": 1, "descript": "<span style=\"color:#333;\">空1:</span>可开开卡卡<br><span style=\"color:#333;\">空2:</span>看来啦啦啦<br>", "dastr": "<span style=\"color:#333;\">空1:</span> 第一个<br><span style=\"color:#333;\">空2:</span> 第一个<br>", "sort": 1 } ] }, "audio": [], "flag": 0 } } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2019-04-30 17:04:17 * * * * *