租赁详情传值修复
This commit is contained in:
parent
038a1fc148
commit
87b5fbacd9
@ -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('数据不存在');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user