master
ELF 5 years ago
parent 4b46cd4563
commit a1862fd240

@ -237,6 +237,9 @@ class HomeController extends Controller
$downloadUrl = $applyService->getDownloadUrl($apply);
}
$serviceQQ = M("config", "sys_")->field('value')->where("name='APP_QQ'")->find()['value'];
$this->assign("serviceQQ", $serviceQQ);
$this->assign('isNewIos', $isNewIos);
$this->assign('downloadUrl', $downloadUrl);
$this->assign('isIOS13', $isIOS13);

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

Loading…
Cancel
Save