학습인증 IPIN 소스 수정
This commit is contained in:
parent
19ad5757c8
commit
88937978c3
|
|
@ -274,12 +274,5 @@ namespace NP.FO.Controllers
|
||||||
vm.BoardCMTs = Dao.Get<BoardCMT>("cr.lectsdboardcmt", vm.LectSDBoard.bno);
|
vm.BoardCMTs = Dao.Get<BoardCMT>("cr.lectsdboardcmt", vm.LectSDBoard.bno);
|
||||||
return CView(vm);
|
return CView(vm);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActionResult Open(long croomlectno, long cmino)
|
|
||||||
{
|
|
||||||
ViewBag.lectno = croomlectno;
|
|
||||||
ViewBag.cmino = cmino;
|
|
||||||
return View(vm);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -141,5 +141,12 @@ namespace NP.FO.Controllers
|
||||||
//오류 어쩌지?
|
//오류 어쩌지?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ActionResult PlayOpen(long lectno, long cmino)
|
||||||
|
{
|
||||||
|
ViewBag.lectno = lectno;
|
||||||
|
ViewBag.cmino = cmino;
|
||||||
|
return View();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -717,7 +717,7 @@
|
||||||
<Content Include="Views\Home\PrivacyPolicy.cshtml" />
|
<Content Include="Views\Home\PrivacyPolicy.cshtml" />
|
||||||
<Content Include="Views\Home\UsePolicy.cshtml" />
|
<Content Include="Views\Home\UsePolicy.cshtml" />
|
||||||
<Content Include="Views\Course\ApplyAgree.cshtml" />
|
<Content Include="Views\Course\ApplyAgree.cshtml" />
|
||||||
<Content Include="Views\CRoom\Open.cshtml" />
|
<Content Include="Views\Open\PlayOpen.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="App_Data\" />
|
<Folder Include="App_Data\" />
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
} else if (ViewBag.reason == "LectinningAuth") {
|
} else if (ViewBag.reason == "LectinningAuth") {
|
||||||
<text>
|
<text>
|
||||||
alert("인증완료");
|
alert("인증완료");
|
||||||
location.href = "/CRoom/Open?croomlectno=@(ViewBag.lectno)&cmino=@(ViewBag.cmino)";
|
location.href = "http://" + location.hostname + "/Open/PlayOpen?lectno=@(ViewBag.lectno)&cmino=@(ViewBag.cmino)";
|
||||||
</text>
|
</text>
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -189,9 +189,11 @@
|
||||||
viewcontents(_cmino, false,@Model.croomlectno);
|
viewcontents(_cmino, false,@Model.croomlectno);
|
||||||
} else {
|
} else {
|
||||||
_authplatform = capResult.msg;
|
_authplatform = capResult.msg;
|
||||||
if (_authplatform == "1") {
|
if(_authplatform == "0"){
|
||||||
|
msg("학습인증수단이 없는 회원입니다. 정보수정을 통해 학습인증수단을 입력해주세요.");
|
||||||
|
} else if (_authplatform == "1") {
|
||||||
confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.<br/> 본인인증을 하시겠습니까?", "chkipin()");
|
confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.<br/> 본인인증을 하시겠습니까?", "chkipin()");
|
||||||
}else if(_authplatform == "2") {
|
} else if (_authplatform == "2") {
|
||||||
confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.<br/> 본인인증을 하시겠습니까?", "chkmobile()");
|
confirmtoggle(true, "해당 과정의 학습을 처음 시작할 때 본인인증이 필요합니다. 본인인증은 1회에 한 해 진행됩니다.<br/> 본인인증을 하시겠습니까?", "chkmobile()");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
<input type="hidden" name="di" id="di" value="@(u.di)" />
|
<input type="hidden" name="di" id="di" value="@(u.di)" />
|
||||||
<input type="hidden" name="ci" id="ci" value="@(u.ci)" />
|
<input type="hidden" name="ci" id="ci" value="@(u.ci)" />
|
||||||
<input type="hidden" name="vssn" id="vssn" value="@(u.vssn)" />
|
<input type="hidden" name="vssn" id="vssn" value="@(u.vssn)" />
|
||||||
|
<input type="hidden" name="authplatform" id="authplatform" value="@(u.authplatform.GetHashCode())" />
|
||||||
<table class="clsTable">
|
<table class="clsTable">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><th>ID</th><td><p>@u.userid</p></td></tr>
|
<tr><th>ID</th><td><p>@u.userid</p></td></tr>
|
||||||
|
|
@ -83,17 +84,22 @@
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
|
<tr id="authPlatform_IPIN" @(u.authplatform == AuthPlatform.Mobile ? "style=display:none;" : "")>
|
||||||
<th>학습인증수단</th>
|
<th>학습인증수단</th>
|
||||||
<td>
|
<td>
|
||||||
<div class="mdfyBirth">
|
<div class="mdfyBirth">
|
||||||
<input type="hidden" name="authplatform" id="authplatform" value="@(u.authplatform.GetHashCode())" />
|
<p id="authPlatformName">I-PIN 인증</p>
|
||||||
<div id="authPlatform_IPIN" @(u.authplatform == AuthPlatform.Mobile ? "style=display:none;" : "")>
|
<a href="#" onclick="certok3reqview('MOBI', 'AuthPlatformChange');" style="width:150px;margin-right:5px;">휴대폰 인증으로 변경</a>
|
||||||
<p id="authPlatformName">I-PIN 인증</p><a href="#" onclick="certok3reqview('MOBI', 'AuthPlatformChange');" style="width:150px;">휴대폰 인증으로 변경</a>
|
</div>
|
||||||
</div>
|
</td>
|
||||||
<div id="authPlatform_Mobile" @(u.authplatform == AuthPlatform.IPIN ? "style=display:none;" : "") >
|
</tr>
|
||||||
<p id="authPlatformName">휴대폰 인증</p><a href="#" onclick="certok3reqview('IPIN', 'AuthPlatformChange');" style="width:150px;">I-PIN 인증으로 변경</a>
|
<tr id="authPlatform_Mobile" @(u.authplatform == AuthPlatform.IPIN ? "style=display:none;" : "") >
|
||||||
</div>
|
<th>학습인증수단</th>
|
||||||
|
<td>
|
||||||
|
<div class="mdfyBirth">
|
||||||
|
<p id="authPlatformName">휴대폰 인증</p>
|
||||||
|
<a href="#" onclick="certok3reqview('IPIN', 'AuthPlatformChange');" style="width:150px;">I-PIN 인증으로 변경</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue