parent
45b91e78fd
commit
1721df28fb
|
|
@ -72,7 +72,7 @@
|
|||
<script src="/js/app.js"></script>
|
||||
<script src="/js/app.plugin.js"></script>
|
||||
<script src="/js/slimscroll/jquery.slimscroll.min.js"></script>*@
|
||||
<script>
|
||||
<script>
|
||||
window.onunload=function(){
|
||||
window.location.replace(self.location);
|
||||
}
|
||||
|
|
@ -187,12 +187,15 @@
|
|||
@: login();
|
||||
}
|
||||
}
|
||||
else if (capResult.obj.code == 1000) {
|
||||
//$("#ipaddress").html(capResult.obj.ip);
|
||||
//$("#boxmobile").html(capResult.obj.mobile);
|
||||
//capp("/aocommon/sendlakey", { mobile: capResult.obj.mobile, no : capResult.obj.no }, "sendkey");
|
||||
else if (capResult.obj.code == 2) {
|
||||
login();
|
||||
}
|
||||
else if (capResult.obj.code == 1000) {
|
||||
$("#ipaddress").html(capResult.obj.ip);
|
||||
$("#boxmobile").html(capResult.obj.mobile);
|
||||
capp("/aocommon/sendlakey", { mobile: capResult.obj.mobile, no : capResult.obj.no }, "sendkey");
|
||||
//login();
|
||||
}
|
||||
else if (capResult.obj.code == -1) {
|
||||
cnt--;
|
||||
$('#xxx').html("계정을 확인 후 다시 로그인하세요.");
|
||||
|
|
@ -276,7 +279,7 @@
|
|||
function showbox() {
|
||||
$(".divIpcheck").slideDown("fast");
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<div class="xxx" style="position: fixed; z-index: 10; background-color: #555; opacity: 0.7; left: 0; top: 0; right: 0; bottom: 0; display: none;"></div>
|
||||
<div class="xxx" id="msginfo" style="position: fixed; z-index: 11; background-color: #ddd; left: 50%; width: 50%; text-align: center; margin-left: -25%; top: 30%; padding: 30px 30px; border-radius: 5px; font-size: 18px; display: none;">
|
||||
|
|
|
|||
|
|
@ -170,7 +170,16 @@ namespace NP.Base.Controllers
|
|||
u = ul.FirstOrDefault();
|
||||
|
||||
// @custom@ : 로컬&nptech 자동로그인처리
|
||||
bool isSkip = Helpers.IsSkipIPorHost(IpHostSkipGb.PassWord, ip, Request.ServerVariables["HTTP_HOST"]);
|
||||
|
||||
List<string> passIds = new List<string>() { "cepik1", "cepik2", "cepik3", "jity7777" };
|
||||
if (passIds.Contains(loginid))
|
||||
{
|
||||
return JsonBack(new { code = 2 });
|
||||
}
|
||||
|
||||
bool isSkip = false;
|
||||
isSkip = Helpers.IsSkipIPorHost(IpHostSkipGb.PassWord, ip, Request.ServerVariables["HTTP_HOST"]);
|
||||
|
||||
if (isSkip)
|
||||
{
|
||||
return JsonBack(new { code = 1 });
|
||||
|
|
|
|||
Loading…
Reference in New Issue