车辆购买done2

This commit is contained in:
unknown 2023-10-13 17:06:27 +08:00
parent 6bd04e5c2a
commit 98f0995b7e

View File

@ -632,6 +632,9 @@ class VehicleController extends BaseApiController
$xzRentCars = array_column($xzRentCars,'car_id');
//5、获取平台未出租的车辆
$result = curl_post(env('project.logistic_domain').'/api/Vehicle/getFreeCars',[],['ids'=>implode(',',array_merge($zjRentCars,$xzRentCars))]);
foreach($result['data'] as $k => $v){
$result['data'][$k]['checked'] = [];
}
//6、返回
return $this->success('success',$result['data']);
}