|
@@ -1,24 +1,27 @@
|
|
|
package com.style24.front.biz.thirdparty;
|
|
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.parameter.GagaMap;
|
|
|
import com.gagaframework.web.util.GagaDateUtil;
|
|
import com.gagaframework.web.util.GagaDateUtil;
|
|
|
import com.gagaframework.web.util.GagaFileUtil;
|
|
import com.gagaframework.web.util.GagaFileUtil;
|
|
|
import com.style24.core.support.env.TscConstants;
|
|
import com.style24.core.support.env.TscConstants;
|
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
|
import com.style24.persistence.domain.Customer;
|
|
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) {
|
|
public GagaMap getCertifyCellPhoneResultInfo(Customer customer) {
|
|
|
GagaMap resultMap = new GagaMap();
|
|
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)) {
|
|
if (StringUtils.isBlank(sEncData)) {
|
|
|
throw new IllegalStateException("안심본인인증을 사용할 수 없습니다.");
|
|
throw new IllegalStateException("안심본인인증을 사용할 수 없습니다.");
|
|
@@ -196,6 +201,7 @@ public class NiceCertify {
|
|
|
String sMobileNo = (String)result.get("MOBILE_NO"); // 휴대폰번호
|
|
String sMobileNo = (String)result.get("MOBILE_NO"); // 휴대폰번호
|
|
|
String sMobileCo = (String)result.get("MOBILE_CO"); // 통신사
|
|
String sMobileCo = (String)result.get("MOBILE_CO"); // 통신사
|
|
|
|
|
|
|
|
|
|
+ log.info("CI >>> {}", sCi);
|
|
|
|
|
|
|
|
String sRequestNo = TsfSession.getAttribute("REQ_SEQ"); // 세션에 저장된 요청번호
|
|
String sRequestNo = TsfSession.getAttribute("REQ_SEQ"); // 세션에 저장된 요청번호
|
|
|
log.info("sRequestNo ===> {}, sRequestNumber ===> {}",sRequestNo ,sRequestNumber);
|
|
log.info("sRequestNo ===> {}, sRequestNumber ===> {}",sRequestNo ,sRequestNumber);
|