aa
This commit is contained in:
parent
dde21d9baf
commit
3b947f7a4a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user