经纪人排行榜接口
<h5>简要描述</h5>
<ul>
<li>经纪人排行榜接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://findroom.yscool.work/index.php/api/rankingList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code> {
"msg": "查询成功",
"data": [
[
{
"id": 5,
"username": "13578778988",
"password": "$10$wNr.tA.BSPp8vTicd3mpT.jE184hwemF0YaieIN.axLb4B5/Tx8V6",
"headshot": "http://rdnyh1a08.bkt.clouddn.com/q1.jpg",
"nickname": "Wang",
"department_id": 5,
"count": 9,
"openid": null,
"created_at": "2022-06-24T22:22:27.000000Z",
"updated_at": null,
"deleted_at": null,
"commpany": {
"id": 5,
"department_name": "宏烨房产",
"address": null,
"created_at": null,
"updated_at": null
}
}
],
[
{
"id": 2,
"username": "18770540137",
"password": "$10$wNr.tA.BSPp8vTicd3mpT.jE184hwemF0YaieIN.axLb4B5/Tx8V6",
"headshot": "http://rdnyh1a08.bkt.clouddn.com/q1.jpg",
"nickname": "Wu",
"department_id": 2,
"count": 5,
"openid": null,
"created_at": "2022-06-24T22:21:25.000000Z",
"updated_at": null,
"deleted_at": null,
"commpany": {
"id": 2,
"department_name": "鹏达房产",
"address": null,
"created_at": null,
"updated_at": null
}
}
],
[
{
"id": 3,
"username": "18770547888",
"password": "$10$wNr.tA.BSPp8vTicd3mpT.jE184hwemF0YaieIN.axLb4B5/Tx8V6",
"headshot": "http://rdnyh1a08.bkt.clouddn.com/q1.jpg",
"nickname": "Zhang",
"department_id": 3,
"count": 4,
"openid": null,
"created_at": "2022-06-24T22:21:49.000000Z",
"updated_at": null,
"deleted_at": null,
"commpany": {
"id": 3,
"department_name": "丫丫找房",
"address": null,
"created_at": null,
"updated_at": null
}
}
]
],
"code": 200
}</code></pre>
<h5>返回参数说明</h5>
<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;">code</td>
<td style="text-align: left;">int</td>
<td>状态码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>错误信息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">object</td>
<td>返回数据</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>