列表
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{host}}/api/teacher.GradesDetail/list</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">gradesId</td>
<td style="text-align: left;"></td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 1,
"msg": "success",
"data": {
"list": {
"total": 1,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 1,
"grades_id": 1,
"teacher_id": 1,
"class_id": 52,
"class_txt": "",
"enroll_num": 50,
"actual_num": 47,
"high_num": 25,
"high_rate": 0.506,
"low_num": 3,
"low_rate": 0.1034,
"pass_num": 38,
"pass_rate": 0.803,
"total_score": 3548,
"average_rate": 0.426,
"direct_rate": 0.6524,
"multi_rate": 0.6522,
"create_time": "2023-08-19 11:30:00",
"teacher_name": "张三",
"idcard": "42165461231321",
"class_name": "2班"
}
]
}
},
"token": ""
}
</code></pre>