...
|
...
|
@@ -210,11 +210,7 @@ class Car extends Backend |
|
|
];
|
|
|
$urldata="start_address=".$route['start_address']."&route_id=".$route['id']."&driver_id=".$driver['id']."&license_plate=".$car['license_plate']."&name=".$driver['name']."&end_address=".$route['end_address']."&price=".$route['price'];
|
|
|
$url_data=trim($urldata);
|
|
|
print_r($url_data);
|
|
|
$url_data=urlencode($url_data);
|
|
|
print_r("================");
|
|
|
print_r($url_data);
|
|
|
return;
|
|
|
$place_image=$this->getQRCode($url_data);
|
|
|
$result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]);
|
|
|
}
|
...
|
...
|
|