列表
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{host}}/mobile/safe.SafetyWarning/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>请求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;">XDEBUG_SESSION_START</td>
<td style="text-align: left;">{{xdebug}}</td>
<td>否</td>
<td>string</td>
<td>忽略</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 1,
"msg": "success",
"data": {
"list": {
"total": 3,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 3,
"region_id": 0,
"school_id": 0,
"device_code": "sd220120",
"device_name": "",
"device_type": 1,
"location": 1,
"grade_id": 2,
"class_id": 9,
"school_class_id": 0,
"ip_address": "",
"disabled": 0,
"deleted": 0,
"grade_name": "一",
"class_name": "3班",
"location_txt": "班级门口"
},
{
"id": 2,
"region_id": 0,
"school_id": 0,
"device_code": "fsds1245",
"device_name": "",
"device_type": 1,
"location": 2,
"grade_id": 1,
"class_id": 3,
"school_class_id": 0,
"ip_address": "",
"disabled": 0,
"deleted": 0,
"grade_name": "二",
"class_name": "2班",
"location_txt": "楼梯道一"
},
{
"id": 1,
"region_id": 0,
"school_id": 0,
"device_code": "dds1231",
"device_name": "",
"device_type": 1,
"location": 1,
"grade_id": 1,
"class_id": 1,
"school_class_id": 0,
"ip_address": "",
"disabled": 0,
"deleted": 0,
"grade_name": "二",
"class_name": "1班",
"location_txt": "班级门口"
}
]
}
},
"token": ""
}
</code></pre>