update
This commit is contained in:
parent
444bc017cd
commit
0db1378223
@ -378,7 +378,7 @@ class VehicleController extends BaseApiController
|
||||
//获取申请信息
|
||||
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->where('type','<>',2)->order('id desc')->find();
|
||||
if(empty($vehicleContract)){
|
||||
return $this->success('没有数据,请申请');
|
||||
return $this->success('没有数据,请申请',['status'=>-1]);
|
||||
}
|
||||
if($vehicleContract['status'] == 2){
|
||||
if(!empty($vehicleContract['cars_info'])){
|
||||
|
Loading…
x
Reference in New Issue
Block a user