This commit is contained in:
unknown 2023-09-07 14:57:46 +08:00
parent dde21d9baf
commit 3b947f7a4a

View File

@ -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();