This commit is contained in:
unknown 2023-08-31 09:40:37 +08:00
parent 5365c40389
commit 2a05144633

View File

@ -338,7 +338,7 @@ class VehicleController extends BaseApiController
//获取申请信息
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->order('id desc')->find();
if(empty($vehicleContract)){
return $this->fail('数据有误');
return $this->success('没有数据,请申请');
}
if(!empty($vehicleContract['cars_info'])){
$vehicleContract['cars_info'] = json_decode($vehicleContract['cars_info'],true);