Merge pull request '修改租赁车辆选择功能2' (#14) from zhangwei into master
Reviewed-on: #14
This commit is contained in:
commit
b2c9fff1f1
@ -37,6 +37,10 @@ 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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user