From 88937978c3fe1446e2cb6f68e2601155fdfea0fa Mon Sep 17 00:00:00 2001 From: lch Date: Wed, 9 Jun 2021 01:10:57 +0000 Subject: [PATCH] =?UTF-8?q?=ED=95=99=EC=8A=B5=EC=9D=B8=EC=A6=9D=20IPIN=20?= =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Controllers/CRoomController.cs | 9 +------ FO/Controllers/OpenController.cs | 7 ++++++ FO/FO.csproj | 2 +- FO/Views/Account/CertOk3IPIN.cshtml | 2 +- FO/Views/CRoom/Index.cshtml | 8 ++++--- FO/Views/My/MyInfoCheck.cshtml | 24 ++++++++++++------- .../Open.cshtml => Open/PlayOpen.cshtml} | 0 7 files changed, 30 insertions(+), 22 deletions(-) rename FO/Views/{CRoom/Open.cshtml => Open/PlayOpen.cshtml} (100%) diff --git a/FO/Controllers/CRoomController.cs b/FO/Controllers/CRoomController.cs index c5a80d7..dd120f6 100644 --- a/FO/Controllers/CRoomController.cs +++ b/FO/Controllers/CRoomController.cs @@ -273,13 +273,6 @@ namespace NP.FO.Controllers } vm.BoardCMTs = Dao.Get("cr.lectsdboardcmt", vm.LectSDBoard.bno); return CView(vm); - } - - public ActionResult Open(long croomlectno, long cmino) - { - ViewBag.lectno = croomlectno; - ViewBag.cmino = cmino; - return View(vm); - } + } } } diff --git a/FO/Controllers/OpenController.cs b/FO/Controllers/OpenController.cs index c275e95..f9f0203 100644 --- a/FO/Controllers/OpenController.cs +++ b/FO/Controllers/OpenController.cs @@ -141,5 +141,12 @@ namespace NP.FO.Controllers //오류 어쩌지? } } + + public ActionResult PlayOpen(long lectno, long cmino) + { + ViewBag.lectno = lectno; + ViewBag.cmino = cmino; + return View(); + } } } \ No newline at end of file diff --git a/FO/FO.csproj b/FO/FO.csproj index d4858c2..87d4bd7 100644 --- a/FO/FO.csproj +++ b/FO/FO.csproj @@ -717,7 +717,7 @@ - + diff --git a/FO/Views/Account/CertOk3IPIN.cshtml b/FO/Views/Account/CertOk3IPIN.cshtml index a67dc0c..1b5fdef 100644 --- a/FO/Views/Account/CertOk3IPIN.cshtml +++ b/FO/Views/Account/CertOk3IPIN.cshtml @@ -56,7 +56,7 @@ } else if (ViewBag.reason == "LectinningAuth") { alert("인증완료"); - location.href = "/CRoom/Open?croomlectno=@(ViewBag.lectno)&cmino=@(ViewBag.cmino)"; + location.href = "http://" + location.hostname + "/Open/PlayOpen?lectno=@(ViewBag.lectno)&cmino=@(ViewBag.cmino)"; } } else { diff --git a/FO/Views/CRoom/Index.cshtml b/FO/Views/CRoom/Index.cshtml index 1afac3b..da26534 100644 --- a/FO/Views/CRoom/Index.cshtml +++ b/FO/Views/CRoom/Index.cshtml @@ -189,11 +189,13 @@ viewcontents(_cmino, false,@Model.croomlectno); } else { _authplatform = capResult.msg; - if (_authplatform == "1") { + if(_authplatform == "0"){ + msg("학습인증수단이 없는 회원입니다. 정보수정을 통해 학습인증수단을 입력해주세요."); + } else if (_authplatform == "1") { confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.
본인인증을 하시겠습니까?", "chkipin()"); - }else if(_authplatform == "2") { + } else if (_authplatform == "2") { confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.
본인인증을 하시겠습니까?", "chkmobile()"); - } + } } } else { msg("휴대폰 번호가 공란입니다.
정보수정을 통해 번호를 입력해주세요."); diff --git a/FO/Views/My/MyInfoCheck.cshtml b/FO/Views/My/MyInfoCheck.cshtml index 8c82f1b..d3e2497 100644 --- a/FO/Views/My/MyInfoCheck.cshtml +++ b/FO/Views/My/MyInfoCheck.cshtml @@ -23,6 +23,7 @@ + @@ -83,17 +84,22 @@ } - + + + + + + diff --git a/FO/Views/CRoom/Open.cshtml b/FO/Views/Open/PlayOpen.cshtml similarity index 100% rename from FO/Views/CRoom/Open.cshtml rename to FO/Views/Open/PlayOpen.cshtml
ID

@u.userid

학습인증수단 -
- - -
-

휴대폰 인증

I-PIN 인증으로 변경 -
+
+

I-PIN 인증

+ 휴대폰 인증으로 변경 +
+
학습인증수단 +
+

휴대폰 인증

+ I-PIN 인증으로 변경