移动联通基站定位
参数说明:
| 名称 | 类型 | 是否必须 | 说明 |
| mcc | int(十进制) | 是 | mcc国家代码:中国代码;460 |
| mnc | int(十进制) | 是 | mnc网络类型0移动1联通(电信对应sid) |
| cell_id | int(十进制) | 是 | 基站Id(电信对应bid) |
| lac | int(十进制) | 是 | lac(电信对应nid) |
| key | string | 是 | APP KEY |
| type | int | 否 | 返回坐标类型默认值 0(google坐标),1( 百度坐标),2(gps坐标) |
返回码说明:
| 返回码 | 说明 |
| 1 | 缺少key值 |
| 7 | 请求参数格式错误 |
| 2 | key没授权 |
| 3 | key过期 |
| 4 | 没返回值 |
| 5 | 达到访问上限或者剩余次数已用完 |
| 6 | 无效IP |
| 0 | 成功的返回 |
返回示例:
{"location":
{"address":
{"region":"江苏省",
"county":"吴中区",
"street":"唯亭镇",
"street_number":"荷花广场",
"city":"苏州市",
"country":"中国"
},
"addressDescription":"江苏省苏州市吴中区波特兰小街唯亭镇荷花广场波特兰小街东",
"longitude":120.7259200,"latitude":31.2968700,"accuracy":"1000"
},
"access_token":null,
"ErrCode":0
}
电信基站定位
参数说明:
| 名称 | 类型 | 是否必须 | 说明 |
| mcc | int(十进制) | 是 | mcc国家代码:中国代码;460 |
| mnc | int(十进制) | 是 | mnc网络类型0移动1联通(电信对应sid) |
| cell_id | int(十进制) | 是 | 基站Id(电信对应bid) |
| lac | int(十进制) | 是 | lac(电信对应nid) |
| key | string | 是 | APP KEY |
| type | int | 否 | 返回坐标类型默认值 0(google坐标),1( 百度坐标),2(gps坐标) |
返回码说明:
| 返回码 | 说明 |
| 1 | 缺少key值 |
| 2 | key没授权 |
| 3 | key过期 |
| 4 | 没返回值 |
| 5 | 达到访问上限 |
| 0 | 成功的返回 |
返回示例:
{"location":
{"address":
{"region":"江苏省",
"county":"吴中区",
"street":"唯亭镇",
"street_number":"荷花广场",
"city":"苏州市",
"country":"中国"
},
"addressDescription":"江苏省苏州市吴中区波特兰小街唯亭镇荷花广场波特兰小街东",
"longitude":120.7259200,"latitude":31.2968700,"accuracy":"1000"
},
"access_token":null,
"ErrCode":0
}
1万+

被折叠的 条评论
为什么被折叠?



