17 changed files with 238 additions and 14 deletions
-
6app/Admin/Common/LinkUrl.php
-
14app/Admin/Common/Map.php
-
23app/Admin/Controllers/ImsCjdcOrderMainController.php
-
156app/Admin/Extensions/MyDetailPage.php
-
1app/Admin/routes.php
-
6app/Http/Controllers/TestController.php
-
2app/Models/ImsCjdcOrder.php
-
5app/Models/ImsCjdcOrderMain.php
-
17public/css/detail.css
-
1public/js/element.js
-
BINpublic/uploads/map/56.png
-
BINpublic/uploads/map/60.png
-
BINpublic/uploads/map/horseman.gif
-
BINpublic/uploads/map/horseman.png
-
BINpublic/uploads/map/horseman1.png
-
10resources/views/orderdetail.php
-
1routes/web.php
@ -0,0 +1,14 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace App\Admin\Common; |
|||
|
|||
|
|||
class Map |
|||
{ |
|||
public static function routeInfo($m_lat,$m_lng,$u_lat,$u_lng,$type="bicycling") |
|||
{ |
|||
$result = file_get_contents("https://apis.map.qq.com/ws/direction/v1/{$type}/?from={$m_lat},{$m_lng}&to={$u_lat},{$u_lng}&key=7NSBZ-ETU3O-CW6WN-S3YM5-KERR5-RQBHS"); |
|||
return $result; |
|||
} |
|||
} |
|||
1
public/js/element.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
|
After Width: 56 | Height: 62 | Size: 3.7 KiB |
|
After Width: 60 | Height: 50 | Size: 4.0 KiB |
|
After Width: 397 | Height: 397 | Size: 77 KiB |
|
After Width: 35 | Height: 25 | Size: 2.7 KiB |
|
After Width: 65 | Height: 50 | Size: 2.0 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue