diff --git a/frontend/controllers/InsurerController.php b/frontend/controllers/InsurerController.php index bb31762..f0ced76 100644 --- a/frontend/controllers/InsurerController.php +++ b/frontend/controllers/InsurerController.php @@ -3482,7 +3482,6 @@ class InsurerController extends BaseController $this->getGift(0, $gift_id, $order_info->car_no, $order_info, $order_gift_id); } } - echo time(); $order_info->gift_status = 1; if(!$order_info->save()) { throw new \Exception(print_r($order_info->getErrors(), true)); @@ -3492,6 +3491,7 @@ class InsurerController extends BaseController $tran->commit(); } catch (\Exception $e) { + var_dump($e->getTrace()); $tran->rollBack(); $result['msg'] = $e->getMessage(); }