shaoguo 10 months ago
parent
commit
1272c05afa
3 changed files with 3 additions and 3 deletions
  1. 1 1
      hua_fei/index.php
  2. 1 1
      hua_fei/register.php
  3. 1 1
      hua_fei/static/js/recharge_flow_new.min.js

+ 1 - 1
hua_fei/index.php

@@ -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";

+ 1 - 1
hua_fei/register.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"=>"注册成功")));
 }
 
 ?>

+ 1 - 1
hua_fei/static/js/recharge_flow_new.min.js

@@ -133,7 +133,7 @@ $(function () {
                        window.location.reload();
                    },4*1000)
                }else{
-                   window.location.href=res.data.pay_url
+                   window.open=res.data.pay_url
                }
             })