| xqd
@@ -17,7 +17,7 @@ class TestController extends Controller
|
|
|
$from = '39.071510,117.190091';
|
|
|
$to = $from;
|
|
|
$url = 'https://apis.map.qq.com/ws/distance/v1?from=' . $from . '&to=' . $to . '&key=' . env('TECENT_POSITION_KEY');
|
|
|
- $url = 'https://apis.map.qq.com/ws/distance/v1/?mode=driving&from=39.983171,116.308479&to=39.996060,116.353455;39.949227,116.394310&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77';
|
|
|
+ $url = 'https://apis.map.qq.com/ws/distance/v1/?mode=driving&from=39.983171,116.308479&to=39.996060,116.353455;39.949227,116.394310&key=2DEBZ-SPSK3-ICA3T-Y4Y7D-EDWYQ-WBFVE';
|
|
|
$res = $client->get($url);
|
|
|
$res = (string)$res->getBody();
|
|
|
dd($res);
|