diff --git a/app/api/controller/VehicleController.php b/app/api/controller/VehicleController.php index 766bd813b..39b9261b7 100644 --- a/app/api/controller/VehicleController.php +++ b/app/api/controller/VehicleController.php @@ -282,7 +282,7 @@ class VehicleController extends BaseApiController } $data = [ 'vehicleContract' => $vehicleContract->toArray(), - '$vehicleRentCars' => $vehicleRentCars + 'vehicleRentCars' => $vehicleRentCars ]; return $this->success('请求成功',$data); }