企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 获取树形结构 地区 **请求URL:** - ` api/region/lists ` **请求方式:** - get **返回示例** ``` { "code": 1, "msg": "获取成功", "data": [{ "value": 100000, "pid": 0, "label": "中国", "children": [{ "value": 110000, "pid": 100000, "label": "北京", "children": [{ "value": 110100, "pid": 110000, "label": "北京市", "children": [{ "value": 110101, "pid": 110100, "label": "东城区", "children": [] }, { "value": 110102, "pid": 110100, "label": "西城区", "children": [] }, { "value": 110105, "pid": 110100, "label": "朝阳区", "children": [] }, { "value": 110106, "pid": 110100, "label": "丰台区", "children": [] }, { "value": 110107, "pid": 110100, "label": "石景山区", "children": [] }, { "value": 110108, "pid": 110100, "label": "海淀区", "children": [] }, { "value": 110109, "pid": 110100, "label": "门头沟区", "children": [] }, { "value": 110111, "pid": 110100, "label": "房山区", "children": [] }, { "value": 110112, "pid": 110100, "label": "通州区", "children": [] }, { "value": 110113, "pid": 110100, "label": "顺义区", "children": [] }, { "value": 110114, "pid": 110100, "label": "昌平区", "children": [] }, { "value": 110115, "pid": 110100, "label": "大兴区", "children": [] }, { "value": 110116, "pid": 110100, "label": "怀柔区", "children": [] }, { "value": 110117, "pid": 110100, "label": "平谷区", "children": [] }, { "value": 110118, "pid": 110100, "label": "密云区", "children": [] }, { "value": 110119, "pid": 110100, "label": "延庆区", "children": [] }, { "value": 110120, "pid": 110100, "label": "中关村科技园区", "children": [] } ] }] } } } ```