4 查询灯光控制时间段
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://120.77.72.190:8080/api/ShanghaidaiyiCtl/timeBucket</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;">macno</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>设备号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 1,
"data": [
{
"start_time": "10:10",
"end_time": "11:10",
"type": 1
},
{
"start_time": "12:10",
"end_time": "13:10",
"type": 2
},
{
"start_time": "15:10",
"end_time": "16:10",
"type": 1
}
],
"msg": "查询成功"
}</code></pre>