From b5714828f2cfd67d7e06cd143a40d77865b93918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 11 Apr 2025 17:58:20 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/lib/Controllers/DBMS/Client/CouponController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extdbms/lib/Controllers/DBMS/Client/CouponController.php b/extdbms/lib/Controllers/DBMS/Client/CouponController.php index bf8818f..3d073dc 100644 --- a/extdbms/lib/Controllers/DBMS/Client/CouponController.php +++ b/extdbms/lib/Controllers/DBMS/Client/CouponController.php @@ -179,8 +179,8 @@ class CouponController extends ClientController //쿠폰 사용내역 history에 등록 $this->getHistoryService()->useCouponForDomain($service, $client, $onetime_case, $coupon, $note, $onetime_request_date);; $this->getServiceService()->commit(); - return $this->redirect->to(DBMS_SITE_URL . "/IdcCouponUseMK.cup?client_code=" . $this->client->getClientCode()); - } catch (\PDOException $e) { + return $this->redirect->to(DBMS_SITE_URL . "/IdcCouponUseMK.cup?client_code=" . $service->getClientCode()); + } catch (\Exception $e) { $this->getServiceService()->rollback(); return $this->redirect->back()->withInput()->with('error', ['message' => '쿠폰 사용에 실패하였습니다.:' . $e->getMessage()]); }