|
|
@ -189,6 +189,11 @@ class Index extends BaseController |
|
|
|
$car_info->car_phone = $data['car_phone'] ?? $car_info->car_phone; |
|
|
|
$car_info->car_phone = $data['car_phone'] ?? $car_info->car_phone; |
|
|
|
$car_info->id_man = $data['id_man'] ?? $car_info->id_man; |
|
|
|
$car_info->id_man = $data['id_man'] ?? $car_info->id_man; |
|
|
|
$car_info->id_number = $data['id_number'] ?? $car_info->id_number; |
|
|
|
$car_info->id_number = $data['id_number'] ?? $car_info->id_number; |
|
|
|
|
|
|
|
$car_info->id_phone = $data['id_phone'] ?? $car_info->id_phone; |
|
|
|
|
|
|
|
$car_info->insured_man = $data['insured_man'] ?? $car_info->insured_man; |
|
|
|
|
|
|
|
$car_info->insured_number = $data['insured_number'] ?? $car_info->insured_number; |
|
|
|
|
|
|
|
$car_info->insured_phone = $data['insured_phone'] ?? $car_info->insured_phone; |
|
|
|
|
|
|
|
|
|
|
|
$car_info->update_timestamp = date('Y-m-d H:i:s'); |
|
|
|
$car_info->update_timestamp = date('Y-m-d H:i:s'); |
|
|
|
if($car_info->save()){ |
|
|
|
if($car_info->save()){ |
|
|
|
return json($this->json_data); |
|
|
|
return json($this->json_data); |
|
|
|