master
ELF 5 years ago
parent 4b46cd4563
commit a1862fd240

@ -237,6 +237,9 @@ class HomeController extends Controller
$downloadUrl = $applyService->getDownloadUrl($apply); $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('isNewIos', $isNewIos);
$this->assign('downloadUrl', $downloadUrl); $this->assign('downloadUrl', $downloadUrl);
$this->assign('isIOS13', $isIOS13); $this->assign('isIOS13', $isIOS13);

@ -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)
} }
} }
}) })

Loading…
Cancel
Save