教师考勤 - 列表
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{host}}/api/school.teacher/getList</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</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;">token</td>
<td style="text-align: left;">{{token}}</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 1,
"data": {
"total": 1,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 130,
"manage_id": 21,
"check_date": "2022-05-23",
"fulled": 1,
"json_data": {
"0": {
"teacher_id": 1,
"reason_type": 1,
"reason_value": "迟到",
"teacher_name": "王老师"
},
"1": {
"teacher_id": 2,
"reason_type": 2,
"reason_value": "早退",
"teacher_name": "李老师"
},
"2": {
"teacher_id": 3,
"reason_type": 3,
"reason_value": "事假",
"teacher_name": "郑老师"
},
"3": {
"teacher_id": 4,
"reason_type": 4,
"reason_value": "病假",
"teacher_name": "张老师"
},
"4": {
"teacher_id": 5,
"reason_type": 5,
"reason_value": "旷工",
"teacher_name": "周老师"
}
},
"create_time": "2022-10-17 17:55:20",
"disabled": 0,
"deleted": 0
}
]
},
"token": ""
}
</code></pre>