Browse Source

车辆信息不存在报错2

master
wanghongjun 5 days ago
parent
commit
18e78b10ac
  1. 2
      app/Http/Controllers/Admin/ParkingLicensePlateController.php

2
app/Http/Controllers/Admin/ParkingLicensePlateController.php

@ -308,7 +308,7 @@ class ParkingLicensePlateController extends BaseController
$license_plate_id = ParkingLicensePlate::getValueId($license_plate); $license_plate_id = ParkingLicensePlate::getValueId($license_plate);
if (!$license_plate_id) { if (!$license_plate_id) {
throw new CustomException(__validation('controller.license_plate.not_exists')); throw new CustomException(__('controller.license_plate.not_exists'));
} }
$parkingSpace = ParkingSpace::query()->where( $parkingSpace = ParkingSpace::query()->where(

Loading…
Cancel
Save