获取人员监考记录
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取人员监考记录</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/contest.monitor/getMonitorPlatform</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<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;">contestId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>竞赛id</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页数 默认1</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页数量 默认10</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 20000,
"msg": "success",
"time": "2022-06-30 15:50:41",
"data": {
"count": 101,
"list": [
{
"platformId": 33409,
"username": "hxlajs046",
"realName": "学生46",
"avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
"introduce": "",
"monitor": [] #监考记录 里面包含三个key 对应的一个value 是监考最新状态
},
{
"platformId": 33410,
"username": "hxlajs047",
"realName": "学生47",
"avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
"introduce": "",
"monitor": {
"alert": { #'alert(切屏) env(环境摄像头使用) face(人像摄像头)'
"monitorId": 8061,
"contestId": 4162,
"contestGradesId": 37873,
"platformIdEd": 33410,
"step": "webScript",
"level": "alert",
"msg": "用户切屏了",
"img": "http://edu-evaluation.oss-cn-shanghai.aliyuncs.com/uploads/faceali/frontend_face_img/1656162588.png",
"status": 1,
"addTime": "2022-06-25 21:09:48",
"updateTime": "2022-06-25 21:09:48"
}
}
},
{
"platformId": 33411,
"username": "hxlajs048",
"realName": "学生48",
"avatar": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202007/03/a8b93c7d109b1678094d23fb39650313.jpg",
"introduce": "",
"monitor": []
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<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>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>