租赁详情传值修复

This commit is contained in:
unknown 2023-10-17 18:00:03 +08:00
parent 038a1fc148
commit 87b5fbacd9

View File

@ -441,7 +441,6 @@ class VehicleController extends BaseApiController
}else{ }else{
$data = VehicleRent::where('rent_company_id',$this->userInfo['company_id'])->where('status',2)->findOrEmpty(); $data = VehicleRent::where('rent_company_id',$this->userInfo['company_id'])->where('status',2)->findOrEmpty();
} }
dump($data);die;
if($data->isEmpty()){ if($data->isEmpty()){
return $this->fail('数据不存在'); return $this->fail('数据不存在');
} }