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