From e4b5803f24260ef1dfd5672371be065ff1de52b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EA=B2=BD=EC=88=99?= Date: Wed, 6 May 2026 17:52:13 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20-=20=ED=82=A4=EC=9B=80?= =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=9A=B4=EC=98=81=20URL=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/gcone/ordr/pay/service/BOPayService.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java b/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java index b1d11c59..5fc6bbd7 100644 --- a/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java +++ b/src/main/java/com/wb/domainserver/domain/gcone/ordr/pay/service/BOPayService.java @@ -1499,8 +1499,14 @@ public class BOPayService{ String kiwoom_ENC = ""; try { - String url = "https://apitest.kiwoompay.co.kr/pay/hash"; - URL goUrl = new URL(url); + String targetURL = ""; + if(cpId.equals("CTS18056")) { + targetURL = "https://apitest.kiwoompay.co.kr/pay/hash"; //개발서버 + }else{ + targetURL = "https://api.kiwoompay.co.kr/pay/hash"; //운영서버 + } + log.info("insertKiwoomPay targetURL :::{} ",targetURL); + URL goUrl = new URL(targetURL); HttpURLConnection con = (HttpURLConnection) goUrl.openConnection(); con.setRequestMethod("POST"); @@ -1609,6 +1615,7 @@ public class BOPayService{ }else{ targetURL = "https://api.kiwoompay.co.kr/pay/ready"; //운영서버 } + log.info("cancelKiwoomPay targetURL :::{} ",targetURL); URL goUrl = new URL(targetURL); HttpURLConnection con = (HttpURLConnection) goUrl.openConnection();