删除班级课表
<p><strong>简要描述:</strong> </p>
<ul>
<li>删除班级课表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/class/{id}/timetable</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>DELETE </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;">id</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": 1,
"class_date": "2019-01-16",
"day_of_week": null,
"week_of_course": null,
"start_time": "10:15:00",
"end_time": "12:15:00",
"teacher_id": 1,
"teacher_name": "TEST",
"classroom_id": 2,
"classroom_name": null
},
{
"id": 2,
"class_date": "2019-01-17",
"day_of_week": null,
"week_of_course": null,
"start_time": "13:00:00",
"end_time": "14:00:00",
"teacher_id": null,
"teacher_name": null,
"classroom_id": null,
"classroom_name": null
},
{
"id": 3,
"class_date": "2019-01-18",
"day_of_week": null,
"week_of_course": null,
"start_time": "14:00:00",
"end_time": "16:00:00",
"teacher_id": null,
"teacher_name": null,
"classroom_id": null,
"classroom_name": null
},
{
"id": 4,
"class_date": "2019-01-21",
"day_of_week": null,
"week_of_course": null,
"start_time": "10:00:00",
"end_time": "12:00:00",
"teacher_id": null,
"teacher_name": null,
"classroom_id": null,
"classroom_name": null
},
{
"id": 5,
"class_date": "2019-01-22",
"day_of_week": null,
"week_of_course": null,
"start_time": "11:00:00",
"end_time": "12:00:00",
"teacher_id": null,
"teacher_name": null,
"classroom_id": null,
"classroom_name": null
},
{
"id": 6,
"class_date": "2019-01-23",
"day_of_week": null,
"week_of_course": null,
"start_time": "10:00:00",
"end_time": "12:00:00",
"teacher_id": null,
"teacher_name": null,
"classroom_id": null,
"classroom_name": null
}
],
"message": "操作成功",
"ct": 1547607699
}</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>