|
|
@ -721,12 +721,10 @@ var PhoneObj = {
|
|
|
|
game_id:gameId,
|
|
|
|
game_id:gameId,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function (result) {
|
|
|
|
success: function (result) {
|
|
|
|
console.log(result)
|
|
|
|
if (result.code == '0000') {
|
|
|
|
if (result.return_code == 'fail') {
|
|
|
|
$('.mounting').show();
|
|
|
|
alert(result.return_msg);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#alert_box").show();
|
|
|
|
alert(result.msg)
|
|
|
|
setTimeout(hideAndLogin,2500)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -769,11 +767,11 @@ var PhoneObj = {
|
|
|
|
async: false,
|
|
|
|
async: false,
|
|
|
|
cache: false,
|
|
|
|
cache: false,
|
|
|
|
success: function (result) {
|
|
|
|
success: function (result) {
|
|
|
|
if (result.code != 0) {
|
|
|
|
if (result.code == '0000') {
|
|
|
|
alert(result.msg);
|
|
|
|
$('.mounting').show();
|
|
|
|
GetVerityCode();
|
|
|
|
GetVerityCode();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
alert(result.msg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -814,14 +812,10 @@ var PhoneObj = {
|
|
|
|
promote_id: promoteId
|
|
|
|
promote_id: promoteId
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function (result) {
|
|
|
|
success: function (result) {
|
|
|
|
if (result.return_code == 'fail') {
|
|
|
|
if (result.code == '0000') {
|
|
|
|
alert(result.return_msg);
|
|
|
|
$('.mounting').show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
//成功
|
|
|
|
alert(result.msg)
|
|
|
|
$("#alert_box").show();
|
|
|
|
|
|
|
|
setTimeout(hideAndLogin,2500)
|
|
|
|
|
|
|
|
// alert("注册并登陆成功");
|
|
|
|
|
|
|
|
// window.location.href = "mobile.php?s=/Ssg/index.html"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -853,13 +847,12 @@ var PhoneObj = {
|
|
|
|
verify_code: verifyCode
|
|
|
|
verify_code: verifyCode
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function (result) {
|
|
|
|
success: function (result) {
|
|
|
|
console.log(result)
|
|
|
|
if (result.code == '0000') {
|
|
|
|
if (result.return_code == 'fail') {
|
|
|
|
alert('修改成功,请用新密码登录!')
|
|
|
|
alert(result.return_msg);
|
|
|
|
$(".login").show();
|
|
|
|
|
|
|
|
$(".forgetPass").hide();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#alert_content").html("密码修改成功,系统将在三秒后自动登录");
|
|
|
|
alert(result.msg)
|
|
|
|
$("#alert_box").show();
|
|
|
|
|
|
|
|
setTimeout(hideAndLogin,2500)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|