diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index 39187752f..e1b539433 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -325,6 +325,7 @@ var PhoneObj = { //登陆 $("#loginbtn").on("click",function(){ + var gameId = $("#game_id").val(); var loginName = $("#userAccount").val(); var loginPass = $("#password").val(); var userCode = $("#userCode").val(); @@ -365,7 +366,11 @@ var PhoneObj = { alert(result.ResultMsg); GetVerityCode(); } else { - window.location.href = "mobile.php?s=/Ssg/index.html" + if (gameId) { + window.location.href = "/mobile.php?s=/Ssg/pay/game_id/"+gameId+".html" + } else { + window.location.href = "/mobile.php?s=/Ssg/index.html" + } } } });