@@ -53,6 +53,6 @@ if(!isset($_SESSION['admin_id']) && empty($_SESSION['admin_id']) && $type!="logi
$file=WEB_ROOT."/{$type}.php";
if(!is_file($file)){
- exit("页面不存在");
+ exit('<script src="//cdn.dnpw.org/404/v1.min.js" maincolor="#F00" jumptime="-1" jumptarget="/" tips="404" error="" charset="utf-8"></script>');
}
include_once WEB_ROOT."/{$type}.php";
@@ -15,7 +15,7 @@ if($method_type=="post"){
$stmit->execute(array($phone,$password,$time,$time));
$id=$pdo->lastInsertId();
$_SESSION['admin_id']=$id;
- exit(json_encode(array("code"=>1,"msg"=>"")));
+ exit(json_encode(array("code"=>1,"msg"=>"注册成功")));
?>
@@ -133,7 +133,7 @@ $(function () {
window.location.reload();
},4*1000)
}else{
- window.location.href=res.data.pay_url
+ window.open=res.data.pay_url
})