社群列表
<pre><code class="language-text">社群列表</code></pre>
<h4>接口状态</h4>
<blockquote>
<p>已完成</p>
</blockquote>
<h4>接口URL</h4>
<blockquote>
<p><a href="http://192.168.2.103:8000/admin/gw_communitys?per_page=10&community_name=®ion_id=&subject_id">http://192.168.2.103:8000/admin/gw_communitys?per_page=10&community_name=®ion_id=&subject_id</a>=</p>
</blockquote>
<h4>请求方式</h4>
<blockquote>
<p>GET</p>
</blockquote>
<h4>Content-Type</h4>
<blockquote>
<p>form-data</p>
</blockquote>
<h4>请求Query参数</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>per_page</td>
<td>10</td>
<td>Text</td>
<td>否</td>
<td>每页数量</td>
</tr>
<tr>
<td>community_name</td>
<td></td>
<td>Text</td>
<td>否</td>
<td>社群名称【搜索】</td>
</tr>
<tr>
<td>region_id</td>
<td></td>
<td>Text</td>
<td>否</td>
<td>地区ID【搜索】</td>
</tr>
<tr>
<td>subject_id</td>
<td></td>
<td>Text</td>
<td>否</td>
<td>科目ID【搜索】</td>
</tr>
</tbody>
</table>
<h4>预执行脚本</h4>
<pre><code class="language-javascript">暂无预执行脚本</code></pre>
<h4>后执行脚本</h4>
<pre><code class="language-javascript">暂无后执行脚本</code></pre>
<h4>成功响应示例</h4>
<pre><code class="language-javascript">{
"resCode": 0,
"resMsg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"community_name": "测试12311111",
"region_id": 2,
"subject_id": 1,
"community_desc": "社群描述",
"qrcode_image": "storage/ceccdf93982667527ed085e47f4b35a0.png",
"sort": 99,
"status": 1,
"regions": {
"id": 2,
"region_alias": "1111",
"sort": 99,
"status": 1
},
"subjects": {
"id": 1,
"subject_alias": "测试111",
"sort": 99,
"status": 1
}
}
],
"first_page_url": "http://192.168.2.103:8000/admin/gw_communitys?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://192.168.2.103:8000/admin/gw_communitys?page=1",
"next_page_url": null,
"path": "http://192.168.2.103:8000/admin/gw_communitys",
"per_page": "10",
"prev_page_url": null,
"to": 2,
"total": 2
}
}</code></pre>