CU


获取区域树*

<p><strong>简要描述:</strong></p> <ul> <li>获取区域树</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li> <p>本地环境<code>http://16i128w468.imwork.net/wechat-api/bar/regionTree</code></p> </li> <li> <p>测试环境<code>http://tencentisux.hhhhcu.com/wechat-api/bar/regionTree</code></p> </li> <li>正式环境<code>暂无</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li><code>get</code></li> </ul> <p><strong>参数:</strong></p> <pre><code class="language-json">{ }</code></pre> <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> </tbody> </table> <p><strong>返回状态码</strong></p> <pre><code>Responst Code { 0 }</code></pre> <p><strong>返回示例</strong></p> <pre><code class="language-json">{ "code": 0, "msg": "success", "data": [ { "code": 110000, "children": [ { "code": 110100, "children": [ { "code": 110101, "text": "东城区" }, { "code": 110102, "text": "西城区" }, { "code": 110105, "text": "朝阳区" }, { "code": 110106, "text": "丰台区" }, { "code": 110107, "text": "石景山区" }, { "code": 110108, "text": "海淀区" }, { "code": 110109, "text": "门头沟区" }, { "code": 110111, "text": "房山区" }, { "code": 110112, "text": "通州区" }, { "code": 110113, "text": "顺义区" }, { "code": 110114, "text": "昌平区" }, { "code": 110115, "text": "大兴区" }, { "code": 110116, "text": "怀柔区" }, { "code": 110117, "text": "平谷区" }, { "code": 110118, "text": "密云区" }, { "code": 110119, "text": "延庆区" } ], "text": "北京市" } ], "text": "北京市" } ] }</code></pre> <p><strong>返回参数说明</strong></p> <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;">code</td> <td style="text-align: left;">int</td> <td>返回状态码 0-修改成功 500-修改失败</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>返回信息</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">json</td> <td>数据体</td> </tr> <tr> <td style="text-align: left;">text</td> <td style="text-align: left;">string</td> <td>名称</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">String</td> <td>代码</td> </tr> </tbody> </table>

页面列表

ITEM_HTML