jsshin 5 yıl önce
ebeveyn
işleme
be4cb21e4d

+ 9 - 6
src/main/java/com/style24/front/biz/web/TsfCustomerController.java

@@ -377,7 +377,7 @@ public class TsfCustomerController extends TsfBaseController {
 		ModelAndView mav = new ModelAndView();
 		GagaMap result = niceCertify.certifyCellPhone();
 
-		if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
+		if (!TscConstants.FrontGb.PC.value().equals(TsfSession.getFrontGb())) {
 			mav.addObject("redirectUrl", redirectUrl); // 모바일만 사용
 			mav.addObject("custParams", custParams); // 모바일만 사용
 		}
@@ -400,7 +400,7 @@ public class TsfCustomerController extends TsfBaseController {
 		ModelAndView mav = new ModelAndView();
 		GagaMap result = niceCertify.certifyIpin();
 
-		if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
+		if (!TscConstants.FrontGb.PC.value().equals(TsfSession.getFrontGb())) {
 			mav.addObject("redirectUrl", redirectUrl); // 모바일만 사용
 			mav.addObject("custParams", custParams); // 모바일만 사용
 		}
@@ -420,7 +420,10 @@ public class TsfCustomerController extends TsfBaseController {
 	 * @since 2021. 02. 09
 	 */
 	@RequestMapping("/nice/certify/callback")
-	public ModelAndView niceCertifyCallback(@RequestParam(value = "EncodeData", required = false) String encodeData, @RequestParam(value = "enc_data", required = false) String encData, @RequestParam(value = "param_r1", required = false) String redirectUrl, @RequestParam(value = "param_r2", required = false) String custParams) {
+	public ModelAndView niceCertifyCallback(@RequestParam(value = "EncodeData", required = false) String encodeData
+			, @RequestParam(value = "enc_data", required = false) String encData
+			, @RequestParam(value = "param_r1", required = false) String redirectUrl
+			, @RequestParam(value = "param_r2", required = false) String custParams) {
 
 		ModelAndView mav = new ModelAndView();
 		String sEncData = "";
@@ -434,7 +437,7 @@ public class TsfCustomerController extends TsfBaseController {
 			authMethod = TscConstants.AuthMethod.IPIN.value();
 		}
 
-		if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
+		if (!TscConstants.FrontGb.PC.value().equals(TsfSession.getFrontGb())) {
 			mav.addObject("redirectUrl", redirectUrl);
 			mav.addObject("custParams", custParams);
 		}
@@ -665,7 +668,7 @@ public class TsfCustomerController extends TsfBaseController {
 			TsfSession.setAttribute("custNo", custParams);
 		}
 
-		if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
+		if (!TscConstants.FrontGb.PC.value().equals(TsfSession.getFrontGb())) {
 			mav.addObject("custNo", TsfSession.getAttribute("custNo"));
 		}
 
@@ -739,7 +742,7 @@ public class TsfCustomerController extends TsfBaseController {
 			TsfSession.setAttribute("custNo", custParams);
 		}
 
-		if (TscConstants.FrontGb.MOB.value().equals(TsfSession.getFrontGb())) {
+		if (!TscConstants.FrontGb.PC.value().equals(TsfSession.getFrontGb())) {
 			mav.addObject("custNo", TsfSession.getAttribute("custNo"));
 		}