修改租赁车辆选择功能2
This commit is contained in:
parent
8931b074de
commit
77c8ed63dd
@ -37,6 +37,10 @@ class VehicleController extends BaseApiController
|
|||||||
$checkNum = curl_post(env('project.logistic_domain').'/api/checkCarNum',[],['num'=>$params['num']]);
|
$checkNum = curl_post(env('project.logistic_domain').'/api/checkCarNum',[],['num'=>$params['num']]);
|
||||||
if($checkNum == null){
|
if($checkNum == null){
|
||||||
return $this->fail('检查车辆数量错误');
|
return $this->fail('检查车辆数量错误');
|
||||||
|
}else{
|
||||||
|
if($checkNum['code'] == 0){
|
||||||
|
return $this->fail($checkNum['msg']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if($checkNum['code'] == 0){
|
if($checkNum['code'] == 0){
|
||||||
return $this->fail($checkNum['msg']);
|
return $this->fail($checkNum['msg']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user