This commit is contained in:
unknown 2023-08-30 17:46:29 +08:00
parent a0d24e1499
commit a6fa3befb9

View File

@ -248,7 +248,7 @@ class VehicleLogic extends BaseLogic
//获取车辆在gps系统中的id
$gps_car_id = (new GpsLogic()) -> info($car['gps_imei']);
//获取车辆当前位置
$local = (new GpsLogic()) -> status($gps_car_id['carId']);
$local = (new GpsLogic()) -> status($gps_car_id['data']['carId']);
if($local['code'] == 1){
$data = [
'car_id' => $params['car_id'],