邮编查询
接口地址:http://binstd.apistd.com/zipcode/query请求方法:post
请求参数 (Query)
参数名 | 类型 | 必须 | 描述 |
---|---|---|---|
key | string | 是 | 请求 AccessKey, 请在控制台中查看 |
zipcode | string | 是 | 邮编 |
返回参数 (Body)
参数名 | 类型 | 描述 |
---|---|---|
status | string | 返回码 |
msg | string | 返回说明信息 |
result | array | 返回结果 |
province | string | 省 |
city | string | 市 |
town | string | 县 |
address | string | 地址 |
zipcode | string | 邮编 |
错误码
错误码 | 描述 |
---|---|
201 | 邮编为空 |
202 | 邮编不正确 |
203 | 区域和地址都为空 |
204 | 没有信息 |