|
|
@@ -4,6 +4,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
import com.style24.front.biz.thirdparty.Yes24Login;
|
|
|
+import com.style24.front.support.env.TsfConstants;
|
|
|
import com.style24.persistence.domain.CustSnsInfo;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -706,9 +707,16 @@ public class TsfCustomerController extends TsfBaseController {
|
|
|
if (StringUtils.isBlank(custNo) || StringUtils.isBlank(customer.getEncData())) {
|
|
|
throw new IllegalStateException("로그인 다시 시도해주세요.");
|
|
|
}
|
|
|
- GagaMap resultInfo = niceCertify.getCertifyCellPhoneResultInfo(customer);
|
|
|
|
|
|
- customer.setCi(resultInfo.getString("sCi"));
|
|
|
+ GagaMap resultInfo;
|
|
|
+ if (TscConstants.AuthMethod.MOBILE.value().equals(customer.getAuthMethod())){
|
|
|
+ resultInfo = niceCertify.getCertifyCellPhoneResultInfo(customer);
|
|
|
+ customer.setCi(resultInfo.getString("sCi"));
|
|
|
+ } else {
|
|
|
+ resultInfo = niceCertify.getCertifyIpinResultInfo(customer);
|
|
|
+ customer.setCi(resultInfo.getString("sConnInfo"));
|
|
|
+ }
|
|
|
+
|
|
|
customer.setCustNo(Integer.parseInt(custNo));
|
|
|
session.removeAttribute("custNo"); // 고객번호 세션 삭제
|
|
|
return customerService.releaseDormantCustomer(customer);
|