This commit is contained in:
2025-04-30 14:38:54 +08:00
parent 05f0c795ac
commit 4c2beebfe6
3 changed files with 15 additions and 10 deletions
@@ -130,7 +130,7 @@ class VehicleController extends Crud
if(!str_starts_with($item['img_url'], 'http')){
$ossservice = new OssService();
$img_url = $ossservice->generatePrivateUrl($item['img_url'],86400);
$img_url = $ossservice->generatePrivateUrl($item['img_url'], 3600);
$item['img_url'] = $img_url;
}
}