Merge pull request 'update' (#108) from zhangwei into master

Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/108
This commit is contained in:
wei1990 2023-09-01 20:49:53 +08:00
commit 265502dccc

View File

@ -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'])){