...
|
...
|
@@ -1905,7 +1905,7 @@ function getOrderStatusText($status) { |
|
|
//逆解析获取地址
|
|
|
function anti_analysis($lat, $lng)
|
|
|
{
|
|
|
$url = 'https://apis.map.qq.com/ws/geocoder/v1/?location=' . $lat . ',' . $lng;
|
|
|
$url = 'https://apis.map.qq.com/ws/geocoder/v1/?location=' . $lat . ',' . $lng.'&key=SARBZ-4A4RU-VHQVF-4RMOY-EWPIZ-ANBXK';
|
|
|
$curl = curl_init(); // 启动一个CURL会话
|
|
|
curl_setopt($curl, CURLOPT_URL, $url);
|
|
|
curl_setopt($curl, CURLOPT_HEADER, 0);
|
...
|
...
|
|