From f0dbdb9f96d409897e22e90fe98f62b6c6b493b0 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Tue, 5 Nov 2019 22:05:05 +0800 Subject: [PATCH] test1 --- frontend/controllers/InsurerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }