曾超新 5 years ago
parent a15eab7c4d
commit f0dbdb9f96
  1. 2
      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();
}

Loading…
Cancel
Save