文档
测试

通过最后的叶子结点id获取整个区域链条

POST
{{url}}index/getAreaListByLeafId

请求参数

参数名
类型
描述
必填
uid
string
示例:{{user_id}}
必填
area_id
int
示例:1027002003
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
array
数据列表
必填
area_id
int
示例:1027
必填
value
int
示例:1027
必填
name
string
示例:福建省
必填
label
string
示例:福建省
必填
parent_id
int
示例:1
必填
leaf
int
示例:0
必填
children
array
数据列表
必填
area_id
int
示例:1027001
必填
value
int
示例:1027001
必填
name
string
示例:福州市
必填
label
string
示例:福州市
必填
parent_id
int
示例:1027
必填
leaf
int
示例:0
必填
msg
string
示例:
必填