机构线下班人员列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>机构线下班人员列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/super/organization/{oid}/class/{cid}/classmember</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;">oid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>机构ID</td>
</tr>
<tr>
<td style="text-align: left;">cid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>班级ID</td>
</tr>
<tr>
<td style="text-align: left;">key</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> {
"result": "success",
"data": {
"current_page": 1,
"data": [
{
"id": 301,
"nickname": "张晓松",
"mobile": "18000001232",
"email": "",
"birthday": "0000-00-00",
"created_at": "2019-01-22 01:15:20"
},
{
"id": 302,
"nickname": "周小川",
"mobile": "18000001236",
"email": "",
"birthday": "0000-00-00",
"created_at": "2019-01-22 01:15:37"
},
{
"id": 281,
"nickname": "小兔子",
"mobile": "15100000000",
"email": "15100000000@163.com",
"birthday": "1990-07-06",
"created_at": "2019-01-18 16:20:12"
},
{
"id": 300,
"nickname": "李大明",
"mobile": "18000001234",
"email": "",
"birthday": "0000-00-00",
"created_at": "2019-01-22 01:15:11"
}
],
"first_page_url": "http://localhost:81/api/super/organization/1/class/6/classmember?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:81/api/super/organization/1/class/6/classmember?page=1",
"next_page_url": null,
"path": "http://localhost:81/api/super/organization/1/class/6/classmember",
"per_page": 20,
"prev_page_url": null,
"to": 4,
"total": 4,
"order": null,
"order_by": null
},
"message": "操作成功",
"ct": 1553591479
}</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>