img
This commit is contained in:
@@ -42,7 +42,7 @@ class VehicleController
|
||||
$fbo_location = Location::find($vehicle->fbo_locations_id);
|
||||
$vehicle->fbo_destination = $fbo_location ? $fbo_location->name : '';
|
||||
|
||||
if(!str_starts_with($vehicle->url, 'http')){
|
||||
if(!str_starts_with($vehicle->img_url, 'http')){
|
||||
$ossservice = new OssService();
|
||||
$img_url = $ossservice->generatePrivateUrl($vehicle->img_url,86400);
|
||||
$vehicle->img_url = $img_url;
|
||||
|
||||
Reference in New Issue
Block a user