|
|
@ -2103,11 +2103,11 @@ class DatabaseController extends BaseController |
|
|
|
throw new \Exception(print_r($d_info->getErrors(),true)); |
|
|
|
throw new \Exception(print_r($d_info->getErrors(),true)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$car_info = $d_info->car; |
|
|
|
// $car_info = $d_info->car; |
|
|
|
$car_info->op_user3 = $d_info->user->getShowName(); |
|
|
|
// $car_info->op_user3 = $d_info->user->getShowName(); |
|
|
|
if(!$car_info->save()) { |
|
|
|
// if(!$car_info->save()) { |
|
|
|
throw new \Exception(print_r($car_info->getErrors(),true)); |
|
|
|
// throw new \Exception(print_r($car_info->getErrors(),true)); |
|
|
|
} |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
//添加保单 |
|
|
|
//添加保单 |
|
|
|
$order_row = new OrderT(); |
|
|
|
$order_row = new OrderT(); |
|
|
|