dbms_primeidc_init...1
This commit is contained in:
parent
953e6abe65
commit
b5714828f2
@ -179,8 +179,8 @@ class CouponController extends ClientController
|
|||||||
//쿠폰 사용내역 history에 등록
|
//쿠폰 사용내역 history에 등록
|
||||||
$this->getHistoryService()->useCouponForDomain($service, $client, $onetime_case, $coupon, $note, $onetime_request_date);;
|
$this->getHistoryService()->useCouponForDomain($service, $client, $onetime_case, $coupon, $note, $onetime_request_date);;
|
||||||
$this->getServiceService()->commit();
|
$this->getServiceService()->commit();
|
||||||
return $this->redirect->to(DBMS_SITE_URL . "/IdcCouponUseMK.cup?client_code=" . $this->client->getClientCode());
|
return $this->redirect->to(DBMS_SITE_URL . "/IdcCouponUseMK.cup?client_code=" . $service->getClientCode());
|
||||||
} catch (\PDOException $e) {
|
} catch (\Exception $e) {
|
||||||
$this->getServiceService()->rollback();
|
$this->getServiceService()->rollback();
|
||||||
return $this->redirect->back()->withInput()->with('error', ['message' => '쿠폰 사용에 실패하였습니다.:' . $e->getMessage()]);
|
return $this->redirect->back()->withInput()->with('error', ['message' => '쿠폰 사용에 실패하였습니다.:' . $e->getMessage()]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user