|
|
|
@ -32,7 +32,7 @@ class ParkingVipListImport implements ToModel, WithHeadingRow |
|
|
|
if (!ParkingVipList::query()->where('license', $license) |
|
|
|
->exists() |
|
|
|
) { |
|
|
|
$model = new ParkingVipList([ |
|
|
|
$model = ParkingVipList::query()->create([ |
|
|
|
'license' => $license, |
|
|
|
'user_id' => Auth::guard('sanctum')->user()['id'], |
|
|
|
'created_at' => get_datetime() |
|
|
|
|