diff --git a/app/Services/ConstructionSitePhotoService.php b/app/Services/ConstructionSitePhotoService.php index 9dc562b7..ac4aaf52 100644 --- a/app/Services/ConstructionSitePhotoService.php +++ b/app/Services/ConstructionSitePhotoService.php @@ -2,6 +2,7 @@ namespace App\Services; +use App\Helpers\AiTokenHelper; use App\Models\Juil\ConstructionSitePhoto; use Illuminate\Contracts\Pagination\LengthAwarePaginator; use Illuminate\Support\Facades\Auth; @@ -86,6 +87,8 @@ public function uploadPhoto(ConstructionSitePhoto $photo, $file, string $type): $type . '_photo_size' => $result['size'], ]); + AiTokenHelper::saveGcsStorageUsage('공사현장사진대지-GCS저장', $result['size']); + return true; }