Silent 6 년 전
부모
커밋
68b0109003
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Http/Controllers/TestController.php

+ 1 - 0
app/Http/Controllers/TestController.php

xqd
@@ -17,6 +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';
         $res = $client->get($url);
         $res = (string)$res->getBody();
         dd($res);