qifengyuze
zhaocheng 4 years ago
parent 4062d11960
commit 895741a568
  1. 10
      frontend/controllers/DatabaseController.php

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

Loading…
Cancel
Save