获取行政区树结构(省市县乡村)
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取行政区树结构(省市县)</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://ip:port/district/districtTreeXingXian</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;status&quot;: 200,
&quot;message&quot;: &quot;success&quot;,
&quot;data&quot;: {
&quot;id&quot;: 10031, // 主键
&quot;fName&quot;: &quot;湖南省&quot;, // 行政区名称
&quot;fDistcode&quot;: &quot;156430000&quot;, // 行政区代码(勿用)
&quot;fPy&quot;: &quot;Hunan&quot;, // 行政区名称拼音
&quot;fBound&quot;: &quot;108.88338499999999,30.12277,114.24835999999999,24.648723999999998&quot;, // 边界坐标
&quot;fLat&quot;: 27.56018800028, // 纬度
&quot;fLnt&quot;: 111.70914900003, // 经度
&quot;fType&quot;: &quot;province&quot;, // 行政区类型
&quot;fParentcode&quot;: &quot;0&quot;, // 父节点
&quot;fCode&quot;: &quot;43&quot;, // 行政区代码
&quot;children&quot;: [ // 行政区子集
{
&quot;id&quot;: 11801,
&quot;fName&quot;: &quot;长沙市&quot;,
&quot;fDistcode&quot;: &quot;156430100&quot;,
&quot;fPy&quot;: &quot;Changsha&quot;,
&quot;fBound&quot;: &quot;111.891801,28.663667,114.250461,27.851039&quot;,
&quot;fLat&quot;: 28.23128999993,
&quot;fLnt&quot;: 112.93341899989,
&quot;fType&quot;: &quot;city&quot;,
&quot;fParentcode&quot;: &quot;43&quot;,
&quot;fCode&quot;: &quot;4301&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: 11806,
&quot;fName&quot;: &quot;芙蓉区&quot;,
&quot;fDistcode&quot;: &quot;156430102&quot;,
&quot;fPy&quot;: &quot;Furong&quot;,
&quot;fBound&quot;: &quot;112.970473,28.227708,113.10342899999999,28.176237&quot;,
&quot;fLat&quot;: 28.1882600004,
&quot;fLnt&quot;: 113.02680999978,
&quot;fType&quot;: &quot;county&quot;,
&quot;fParentcode&quot;: &quot;4301&quot;,
&quot;fCode&quot;: &quot;430102&quot;
}
]
}
]
},
&quot;decryptFlag&quot;: false
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>