机构人员列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>机构人员列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/super/organization/{oid}/user</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;">int</td>
<td>机构ID</td>
</tr>
<tr>
<td style="text-align: left;">role</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>user,teacher,admin</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "success",
"data": {
"current_page": 1,
"data": [
{
"id": 370,
"org_id": 2,
"user_id": 370,
"nickname": "有来学-糖糖老师1",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-15 19:13:44",
"updated_at": "2019-02-15 19:13:44",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/ibARibBKXY0UicFtkNia85fibHbR0j5949WOcwUU68piandwwM6XqQHOHnEIfm4WGZfxgsdelHS10G9CA2yHHMcndq9Q/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-15 19:15:07"
},
{
"id": 337,
"org_id": 2,
"user_id": 337,
"nickname": "小猫阅读",
"role": "admin",
"email": null,
"gender": "F",
"birthday": "0000-00-00",
"province": "",
"city": "",
"district": "",
"address": "",
"created_at": "2019-02-14 10:34:46",
"updated_at": "2019-02-14 10:34:46",
"avatar": null,
"come_from": null,
"mobile": "15588667799",
"last_login_at": "2019-02-18 11:40:27"
},
{
"id": 257,
"org_id": 2,
"user_id": 257,
"nickname": "wuyan",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2018-12-22 16:11:09",
"updated_at": "2019-02-13 15:57:51",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIWdEabtdKMFB1dCfRictCQa1j7Cx3EUyCfFQI89SMotujkjvGibzeY3G63wTNSLvxDK1yyQpHGNqjQ/132",
"come_from": "wechat_official",
"mobile": "13564139224",
"last_login_at": "2019-03-06 17:49:37"
},
{
"id": 144,
"org_id": 2,
"user_id": 144,
"nickname": "李小猫🐱",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-15 19:10:02",
"updated_at": "2019-02-15 19:10:02",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJ0K4Ea95u4mfdUYYARrsTEOibEM60B3AuYicA3eNEa7aGd5DeYq55cVOy3D1oyNJfZdNcr1EZZGH7w/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-15 19:14:08"
},
{
"id": 104,
"org_id": 2,
"user_id": 104,
"nickname": "人来人往。",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-14 10:18:35",
"updated_at": "2019-02-14 10:18:35",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJzIZCfbZ1olWMnZBre6odpuwtKX5rzCp5gEuuqQp137hicgHYAc8yFxJ9oNKDEStI2rUG4Mxq7Q8w/132",
"come_from": "wechat_official",
"mobile": "17521025721",
"last_login_at": "2019-03-26 09:14:09"
},
{
"id": 98,
"org_id": 2,
"user_id": 98,
"nickname": "兔牙Yuki",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-15 14:24:50",
"updated_at": "2019-02-15 14:24:50",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJZLUibIG3D5jMV6YMRWibZsncypb3N0PJ4RpD2WUVF0agnpCakFPEdPWONqIXxPJrVUesXAvpGqnKg/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-21 17:37:27"
},
{
"id": 92,
"org_id": 2,
"user_id": 92,
"nickname": "一喜啊🍡",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-14 11:38:51",
"updated_at": "2019-02-14 11:38:51",
"avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/E4eury5hle6WRXsHUjH4J61Kcup7mN1kJRmHnBNpbjOGLSq6KPSPCpK41db7V0SVSphXHe3R3GCibm6CVc05vxg/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-20 14:16:11"
},
{
"id": 65,
"org_id": 2,
"user_id": 65,
"nickname": "哦",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-18 11:11:26",
"updated_at": "2019-02-18 11:11:26",
"avatar": "",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-20 14:31:05"
},
{
"id": 58,
"org_id": 2,
"user_id": 58,
"nickname": "毛细血管",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2018-07-04 16:03:16",
"updated_at": "2019-02-13 10:55:00",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIEMTyVB5rsU0OzfzAnktVPZDzq3LQQJusrkyFDIdANujiaTK3xeZ2EPaPu4DxAyRIaLpOiawzznCaw/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-20 10:40:31"
},
{
"id": 57,
"org_id": 2,
"user_id": 57,
"nickname": "Bernie",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2018-07-04 15:11:42",
"updated_at": "2019-01-25 16:40:30",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/Q3auHgzwzM6uPSMwfib2S9boL4DsL4RcF9pMdrzpmE2xibkfZ6aiagvj0ByRHib3pTiathdRIbshEdUjpgIcRDvRSBg/132",
"come_from": "wechat_mini",
"mobile": null,
"last_login_at": "2019-02-27 19:56:25"
},
{
"id": 54,
"org_id": 2,
"user_id": 54,
"nickname": "Adeline_ 🌹",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-14 10:57:36",
"updated_at": "2019-02-14 10:57:36",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eooyChvYic3KanWIp3O0iasgcDoC0QFFRnXMl2CibhKZpjKkruEc2WetGyXxVQHHRp2Jm3G800KPLTXw/132",
"come_from": "wechat_mini",
"mobile": "19821411772",
"last_login_at": "2019-02-26 10:52:51"
},
{
"id": 43,
"org_id": 2,
"user_id": 43,
"nickname": "卖火柴的小女孩💋",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2019-02-15 13:53:39",
"updated_at": "2019-02-15 13:55:21",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/F5MYMIT6gx55jtfnutxMhfqgPI8jbicStYCy198xv4HYxEfnrrRG9JicNmnV7Y2WluyJpGsLUpMibYBsueNDFdbuQ/132",
"come_from": "wechat_official",
"mobile": "15997283005",
"last_login_at": "2019-02-20 17:39:19"
},
{
"id": 39,
"org_id": 2,
"user_id": 39,
"nickname": "光海里",
"role": "user",
"email": null,
"gender": null,
"birthday": null,
"province": null,
"city": null,
"district": null,
"address": null,
"created_at": "2018-06-26 18:16:22",
"updated_at": "2019-02-09 14:39:12",
"avatar": "https://wx.qlogo.cn/mmopen/vi_32/PiajxSqBRaEKtge41mXtQ9O7mic4TaOrcibm4sUfk23xZwZiabCE2rEAM2Q4kibe0FZQg2h5NgPxUpTmdTmkMu2ZAPg/132",
"come_from": "wechat_mini",
"mobile": "18516515168",
"last_login_at": "2019-03-25 16:40:18"
}
],
"first_page_url": "http://localhost:81/api/super/organization/2/user?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:81/api/super/organization/2/user?page=1",
"next_page_url": null,
"path": "http://localhost:81/api/super/organization/2/user",
"per_page": 20,
"prev_page_url": null,
"to": 13,
"total": 13,
"order": null,
"order_by": null
},
"message": "操作成功",
"ct": 1553589348
}</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>