获取省份下属城市

  • 接口描述

    根据省份编码,获取其所有城市地址列表。

  • API

/api/open/address/getCity
  • 参数格式
POST application/x-www-form-urlencoded
  • 入参
参数名称 类型 是否必填 描述
token String 授权时获取的 access token
parentCode String 省份行政区域编码
  • 出参
参数名称 类型 非空 描述
regionCode String 城市行政区域编号
regionName String 城市行政区域名称
depth Integer 行政区域层级
parentCode String 省份行政区域编码
  • 出参示例
{
    "code": 0,
    "data": [
        {
            "depth": 2,
            "parentCode": "",
            "regionCode": "",
            "regionName": ""
        }
    ],
    "message": "",
    "success": true
}    
Copyright © cmdjh 2023 all right reserved,powered by Gitbook该文章修订时间: 2023-11-22

results matching ""

    No results matching ""