Merge pull request '修改租赁车辆选择功能3' (#15) from zhangwei into master
Reviewed-on: #15
This commit is contained in:
commit
11e35dd1f1
@ -37,14 +37,11 @@ class VehicleController extends BaseApiController
|
||||
$checkNum = curl_post(env('project.logistic_domain').'/api/checkCarNum',[],['num'=>$params['num']]);
|
||||
if($checkNum == null){
|
||||
return $this->fail('检查车辆数量错误');
|
||||
}else{
|
||||
if($checkNum['code'] == 0){
|
||||
return $this->fail($checkNum['msg']);
|
||||
}
|
||||
}
|
||||
if($checkNum['code'] == 0){
|
||||
return $this->fail($checkNum['msg']);
|
||||
}
|
||||
dump($checkNum);die;
|
||||
//查找乙方公司信息
|
||||
$party_b = Company::field('id,company_name,organization_code,master_name,master_phone,master_email,company_type')->where('id',$this->userInfo['company_id'])->find();
|
||||
if(empty($party_b)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user