From 3b947f7a4a8dba039a7f9243c0ec4a8dba0bcbd7 Mon Sep 17 00:00:00 2001 From: unknown <736250432@qq.com> Date: Thu, 7 Sep 2023 14:57:46 +0800 Subject: [PATCH] aa --- app/api/controller/ContractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/ContractController.php b/app/api/controller/ContractController.php index 41f99ac3..82af1c35 100644 --- a/app/api/controller/ContractController.php +++ b/app/api/controller/ContractController.php @@ -120,7 +120,7 @@ class ContractController extends BaseApiController if(isset($params['cars_info']) && !empty($params['cars_info'])){ $cars = json_decode($params['cars_info'], true); //更新本地车辆状态 - $vehicle_result = Vehicle::where('id','in',array_column($cars,'id'))->update(['status'=>1]); + Vehicle::where('id','in',array_column($cars,'id'))->update(['status'=>1]); } if($update_result){ Db::commit();