获取城市包含的行政区县
POST
/serve
请求参数
Body 参数application/json
service
string
brand
endpoint
string
/api/data/regions/{cityCode}
params
object
必需
示例
{
"service": "brand",
"endpoint": "/api/data/regions/410300",
"params": {}
}
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
array [object {2}]
必需
regionCode
string
区县编码
regionName
string
区县名称
request_id
string
必需
示例
{
"code": 0,
"message": "ok",
"data": [
{
"regionCode": "410324",
"regionName": "栾川县"
},
{
"regionCode": "410323",
"regionName": "新安县"
}
],
"request_id": "01968bc7-f784-7318-8bd7-348805aa75cb"
}