Parcourir la source

네이버페이 주문형 검수 대응 임시 커밋

card007 il y a 4 ans
Parent
commit
d9b9ed0754
1 fichiers modifiés avec 19 ajouts et 13 suppressions
  1. 19 13
      src/main/java/com/style24/front/biz/thirdparty/NiceCertify.java

+ 19 - 13
src/main/java/com/style24/front/biz/thirdparty/NiceCertify.java

@@ -1,24 +1,27 @@
 package com.style24.front.biz.thirdparty;
 
-import Kisinfo.Check.IPIN2Client;
-import NiceID.Check.CPClient;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.HashMap;
+
+import javax.annotation.PostConstruct;
+
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.core.env.Environment;
+import org.springframework.stereotype.Component;
+
 import com.gagaframework.web.parameter.GagaMap;
 import com.gagaframework.web.util.GagaDateUtil;
 import com.gagaframework.web.util.GagaFileUtil;
 import com.style24.core.support.env.TscConstants;
 import com.style24.front.support.security.session.TsfSession;
 import com.style24.persistence.domain.Customer;
-import lombok.extern.slf4j.Slf4j;
-import org.apache.commons.lang3.StringUtils;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.core.env.Environment;
-import org.springframework.stereotype.Component;
 
-import javax.annotation.PostConstruct;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.HashMap;
+import Kisinfo.Check.IPIN2Client;
+import NiceID.Check.CPClient;
+import lombok.extern.slf4j.Slf4j;
 
 /**
  * 나이스 인증
@@ -144,7 +147,9 @@ public class NiceCertify {
 	 */
 	public GagaMap getCertifyCellPhoneResultInfo(Customer customer) {
 		GagaMap resultMap = new GagaMap();
-		String sEncData = requestReplace(customer.getEncData(),"encodeData");
+		String a = "";
+		// String sEncData = requestReplace(customer.getEncData(),"encodeData");
+		String sEncData = requestReplace(a,"encodeData");
 
 		if (StringUtils.isBlank(sEncData)) {
 			throw new IllegalStateException("안심본인인증을 사용할 수 없습니다.");
@@ -196,6 +201,7 @@ public class NiceCertify {
 		String sMobileNo = (String)result.get("MOBILE_NO");				// 휴대폰번호
 		String sMobileCo = (String)result.get("MOBILE_CO");				// 통신사
 
+		log.info("CI >>> {}", sCi);
 
 		String sRequestNo = TsfSession.getAttribute("REQ_SEQ");	// 세션에 저장된 요청번호
 		log.info("sRequestNo ===> {}, sRequestNumber ===> {}",sRequestNo ,sRequestNumber);