Merge pull request '修改小组服务公司首页数据' (#32) from zhangwei into dev
Reviewed-on: #32
This commit is contained in:
commit
fc5b54f058
@ -419,7 +419,7 @@ class VehicleController extends BaseApiController
|
|||||||
return $this->fail('非小组公司不能访问');
|
return $this->fail('非小组公司不能访问');
|
||||||
}
|
}
|
||||||
//获取申请信息
|
//获取申请信息
|
||||||
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->order('id desc')->findOrEmpty();
|
$vehicleContract = VehicleContract::where('company_b_id',$company['id'])->where('type','<>',2)->order('id desc')->findOrEmpty();
|
||||||
if($vehicleContract['status'] == 3){
|
if($vehicleContract['status'] == 3){
|
||||||
if(!empty($vehicleContract['cars_info'])){
|
if(!empty($vehicleContract['cars_info'])){
|
||||||
$vehicleContract['cars_info'] = json_decode($vehicleContract['cars_info'],true);
|
$vehicleContract['cars_info'] = json_decode($vehicleContract['cars_info'],true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user