获取科目地区及社群列表
<pre><code class="language-text">获取科目地区及社群列表</code></pre>
<h4>接口状态</h4>
<blockquote>
<p>已完成</p>
</blockquote>
<h4>接口URL</h4>
<blockquote>
<p><a href="http://192.168.2.110:8000/api/gw_communitys?region=5&subject=1">http://192.168.2.110:8000/api/gw_communitys?region=5&subject=1</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>region</td>
<td>5</td>
<td>Text</td>
<td>是</td>
<td>地区ID</td>
</tr>
<tr>
<td>subject</td>
<td>1</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": [
{
"id": 4,
"community_name": "安徽小学语文",
"region_id": 5,
"subject_id": 1,
"community_desc": "<p>安徽-小学语文QQ群号:784965362</p><p>地区优质教师集合,教学探讨,资源共享</p><p>更有免费优翼教学同步资源礼包实时更新</p>",
"qrcode_image": "storage/2b8364c5935f9974aab63a919ef5a87e.png",
"sort": 99,
"status": 1
}
]
}</code></pre>