选择服务城市
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取城市列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/region/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">ssid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>全局会话唯一标识符</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 1,
&quot;msg&quot;:&quot;提示语&quot;,
&quot;data&quot;: {
&quot;region_letter&quot;:[&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,...],
&quot;region_list&quot;:
{A:[
{
&quot;id&quot;: 210300,
&quot;parentid&quot;: 210000,
&quot;name&quot;: &quot;鞍山市&quot;,
&quot;longitude&quot;: &quot;122.9946&quot;,
&quot;latitude&quot;: &quot;41.10777&quot;,
},
,...],..},
&quot;region_hot&quot;:[
{
&quot;id&quot;: 210300,
&quot;parentid&quot;: 210000,
&quot;name&quot;: &quot;鞍山市&quot;,
&quot;longitude&quot;: &quot;122.9946&quot;,
&quot;latitude&quot;: &quot;41.10777&quot;,
},...
]
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>技师id</td>
</tr>
<tr>
<td style="text-align: left;">region_letter</td>
<td style="text-align: left;">array</td>
<td>区域字母数组</td>
</tr>
<tr>
<td style="text-align: left;">region_list</td>
<td style="text-align: left;">array</td>
<td>字母主键区域数组</td>
</tr>
<tr>
<td style="text-align: left;">region_hot</td>
<td style="text-align: left;">array</td>
<td>热门城市数组</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>region_list、region_hot下的城市列表,用于选择城市后回调获取附近地理位置信息</li>
</ul>