文档
测试

地址:三级联动

POST
https://applets.mcu.com.cn/user/Users/get_region_data

请求参数

参数名
类型
描述
必填
parent_id
int
最高级我为0
必填

响应参数

参数名
类型
描述
必填
msg
array
数据列表
必填
id
int
地址id(请求参数的id)
必填
name
string
城市名称
必填
level
int
等级
必填
parent_id
int
示例:0
必填
initial
string
示例:B
必填
status
int
示例:1
必填

说明 / 示例

{ "msg": [ { "id": 1, "name": "北京市", "level": 1, "parent_id": 0, "initial": "B" }, { "id": 338, "name": "天津市", "level": 1, "parent_id": 0, "initial": "T" }, { "id": 636, "name": "河北省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 3102, "name": "山西省", "level": 1, "parent_id": 0, "initial": "S" }, { "id": 4670, "name": "内蒙古自治区", "level": 1, "parent_id": 0, "initial": "N" }, { "id": 5827, "name": "辽宁省", "level": 1, "parent_id": 0, "initial": "L" }, { "id": 7531, "name": "吉林省", "level": 1, "parent_id": 0, "initial": "J" }, { "id": 8558, "name": "黑龙江省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 10543, "name": "上海市", "level": 1, "parent_id": 0, "initial": "S" }, { "id": 10808, "name": "江苏省", "level": 1, "parent_id": 0, "initial": "J" }, { "id": 12596, "name": "浙江省", "level": 1, "parent_id": 0, "initial": "Z" }, { "id": 14234, "name": "安徽省", "level": 1, "parent_id": 0, "initial": "A" }, { "id": 16068, "name": "福建省", "level": 1, "parent_id": 0, "initial": "F" }, { "id": 17359, "name": "江西省", "level": 1, "parent_id": 0, "initial": "J" }, { "id": 19280, "name": "山东省", "level": 1, "parent_id": 0, "initial": "S" }, { "id": 21387, "name": "河南省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 24022, "name": "湖北省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 25579, "name": "湖南省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 28240, "name": "广东省", "level": 1, "parent_id": 0, "initial": "G" }, { "id": 30164, "name": "广西壮族自治区", "level": 1, "parent_id": 0, "initial": "G" }, { "id": 31563, "name": "海南省", "level": 1, "parent_id": 0, "initial": "H" }, { "id": 31929, "name": "重庆市", "level": 1, "parent_id": 0, "initial": "Z" }, { "id": 33007, "name": "四川省", "level": 1, "parent_id": 0, "initial": "S" }, { "id": 37906, "name": "贵州省", "level": 1, "parent_id": 0, "initial": "G" }, { "id": 39556, "name": "云南省", "level": 1, "parent_id": 0, "initial": "Y" }, { "id": 41103, "name": "西藏自治区", "level": 1, "parent_id": 0, "initial": "X" }, { "id": 41877, "name": "陕西省", "level": 1, "parent_id": 0, "initial": "S" }, { "id": 43776, "name": "甘肃省", "level": 1, "parent_id": 0, "initial": "G" }, { "id": 45286, "name": "青海省", "level": 1, "parent_id": 0, "initial": "Q" }, { "id": 45753, "name": "宁夏回族自治区", "level": 1, "parent_id": 0, "initial": "N" }, { "id": 46047, "name": "新疆维吾尔自治区", "level": 1, "parent_id": 0, "initial": "X" }, { "id": 47493, "name": "台湾省", "level": 1, "parent_id": 0, "initial": "T" }, { "id": 47494, "name": "香港特别行政区", "level": 1, "parent_id": 0, "initial": "X" }, { "id": 47495, "name": "澳门特别行政区", "level": 1, "parent_id": 0, "initial": "A" }, { "id": 47964, "name": "海外", "level": 1, "parent_id": 0, "initial": "H" } ], "status": 1 }