From 8cf63202a57f8236d2678dccfabe67c25e5270dc Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Sat, 28 Sep 2019 17:19:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9B=E5=BA=93=E5=88=86=E9=85=8DB?= =?UTF-8?q?UG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/DatabaseController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/controllers/DatabaseController.php b/frontend/controllers/DatabaseController.php index 8de47b9..79ea5fe 100644 --- a/frontend/controllers/DatabaseController.php +++ b/frontend/controllers/DatabaseController.php @@ -637,11 +637,15 @@ class DatabaseController extends BaseController $order_row->engine_no = $b_info->car->engine_no; $order_row->car_frame_no = $b_info->car->car_frame_no; $order_row->car_man = $b_info->car->car_man; + $order_row->car_man_number = $b_info->car->car_man_number; + $order_row->car_man_phone = $b_info->car->phone; $order_row->user_id = $user_id; $order_row->status_id = 1; $order_row->id_man = $b_info->car->car_man; + $order_row->id_man_number = $b_info->id_number; $order_row->link_man = $b_info->car->car_man; - $order_row->link_phone = $b_info->car->phone; + $order_row->link_man_phone = $b_info->car->phone; + $order_row->link_man_number = $b_info->car->id_number; if(!$order_row->save()) { throw new \Exception(print_r($order_row->getErrors(),true)); }