| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码,0=成功 |
desc | string | 状态描述 |
data− |
object | 业务数据(成功时返回) |
status |
string | 返回状态,1:成功;0:失败 |
info |
string | 返回的状态信息,成功时返回 ok,失败时返回错误原因 |
formatted_address |
string | 完整地址描述 |
address_component− |
object | 地址元素详情 |
country |
string | 国家 |
province |
string | 省份 |
city |
string | 城市 |
citycode |
string | 城市编码 |
district |
string | 区县 |
adcode |
string | 区域编码 |
township |
string | 乡镇 |
towncode |
string | 乡镇编码 |
street |
string | 街道 |
number |
string | 门牌 |
request_id | string | 请求追踪ID |
{
"code": 0,
"desc": "success",
"data": { ... },
"request_id": "abc123..."
}
{
"code": 999,
"desc": "错误描述",
"request_id": "abc123..."
}
© 网程科技(林州网程科技有限公司) | 豫ICP备2025120409号-2 | 豫B2-20230220 | 豫公网安备 41058102000262号