This commit is contained in:
2025-04-30 14:02:37 +08:00
parent 1da9389dc5
commit 382ee9f154
2 changed files with 2 additions and 2 deletions
@@ -130,7 +130,7 @@ class VehicleController extends Crud
}
if(!str_starts_with($items->url, 'http')){
if(!str_starts_with($items->img_url, 'http')){
$ossservice = new OssService();
$img_url = $ossservice->generatePrivateUrl($item->img_url,86400);
$item->img_url = $img_url;