宿舍列表
<p>[TOC]</p>
<h4>宿舍列表</h4>
<h5>请求URL</h5>
<ul>
<li><code>/v1/stay/dormitory</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求Header参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>header</td>
<td>string</td>
<td>否</td>
<td>-</td>
</tr>
</tbody>
</table>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>city_id</td>
<td>body</td>
<td>integer</td>
<td>是</td>
<td>城市CODE</td>
</tr>
<tr>
<td>area_id</td>
<td>body</td>
<td>integer</td>
<td>否</td>
<td>区域CODE</td>
</tr>
<tr>
<td>keyword</td>
<td>body</td>
<td>string</td>
<td>否</td>
<td>关键字搜索</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;success&quot;: true,
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;total&quot;: 1,
&quot;per_page&quot;: 10,
&quot;current_page&quot;: 1,
&quot;last_page&quot;: 1,
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;name&quot;: &quot;测试宿舍&quot;,
&quot;contact_name&quot;: &quot;王明&quot;,
&quot;contact_tel&quot;: &quot;176060600606&quot;,
&quot;province_id&quot;: 430000,
&quot;city_id&quot;: 430400,
&quot;area_id&quot;: 430407,
&quot;gps_lat&quot;: &quot;26.95236&quot;,
&quot;gps_lng&quot;: &quot;112.617424&quot;,
&quot;address&quot;: &quot;湖南省衡阳市石鼓区金源街道雁城物流园&quot;,
&quot;ensure_money&quot;: &quot;10.00&quot;,
&quot;free_day&quot;: 3,
&quot;day_money&quot;: &quot;200.00&quot;,
&quot;free_surcharge&quot;: 3,
&quot;surcharge_money&quot;: &quot;20.00&quot;,
&quot;regtime&quot;: 1699523531,
&quot;updatetime&quot;: 1699523531
}
]
},
&quot;message&quot;: &quot;&quot;
}</code></pre>