dbms_primeidc_init...1
This commit is contained in:
parent
0504d434aa
commit
656856326e
@ -160,11 +160,10 @@ class CouponController extends ClientController
|
||||
// $history_query = "INSERT INTO `historydb` (`service_code`, `server_code`, `behavior_case`, `behavior`, `behavior_date`, `note`, `client_name`) VALUES ('$_GET[service_code]', '$service[server_code]', '도메인 쿠폰 구매 / $_GET[onetime_sub] 개', '도메인 쿠폰 구매', '$_GET[onetime_request_date]', '$member[name]', '$service[Client_Name]')";
|
||||
// @mysql_query($history_query, $db_connect) or die($db_i_error);
|
||||
$this->getServiceService()->getModel()->commit();
|
||||
return $this->render(__FUNCTION__);
|
||||
return $this->redirect->back()->with('success', ['message' => '쿠폰 사용이 완료되었습니다.']);
|
||||
} catch (\PDOException $e) {
|
||||
$this->getServiceService()->getModel()->rollback();
|
||||
echo $e->getMessage();
|
||||
return $this->redirect->back()->withInput()->with('error', ['message' => '쿠폰 사용에 실패하였습니다.']);
|
||||
return $this->redirect->back()->withInput()->with('error', ['message' => '쿠폰 사용에 실패하였습니다.:' . $e->getMessage()]);
|
||||
}
|
||||
}
|
||||
} //Class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user