Weteach-小程序


错题详情

<p><strong>简要描述:</strong> </p> <ul> <li>用户注册接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/cli/word/{sid}/error/quesiton</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>get </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">sid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>阶段ID</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "result": "success", "data": [ { "id": 489, "stage_id": 172, "type": "radio", "content": "第一题", "created_at": "2018-10-18 11:58:02", "explanation": "解析", "explanation_material": null, "knowledge": [ { "id": 2, "content": "知识点2", "created_at": "2018-10-17 16:54:02" } ], "question_type": "word", "answer_value": null, "answer": [ { "id": 1636, "stage_id": 172, "question_id": 489, "content": "A", "is_correct": 1, "created_at": "2018-10-18 11:58:02", "answer_group": null }, { "id": 1637, "stage_id": 172, "question_id": 489, "content": "B", "is_correct": 0, "created_at": "2018-10-18 11:58:02", "answer_group": null }, { "id": 1638, "stage_id": 172, "question_id": 489, "content": "C", "is_correct": 0, "created_at": "2018-10-18 11:58:02", "answer_group": null } ] }, { "id": 490, "stage_id": 172, "type": "radio", "content": "第二题", "created_at": "2018-10-18 11:58:16", "explanation": "213", "explanation_material": null, "knowledge": [], "question_type": "word", "answer_value": null, "answer": [ { "id": 1639, "stage_id": 172, "question_id": 490, "content": "2", "is_correct": 0, "created_at": "2018-10-18 11:58:16", "answer_group": null }, { "id": 1640, "stage_id": 172, "question_id": 490, "content": "3", "is_correct": 1, "created_at": "2018-10-18 11:58:16", "answer_group": null }, { "id": 1641, "stage_id": 172, "question_id": 490, "content": "4", "is_correct": 0, "created_at": "2018-10-18 11:58:16", "answer_group": null } ] } ], "message": "操作成功", "ct": 1539919367 }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML