Explorar el Código

可能绑了手机退出了再用游客登录

Tree hace 1 mes
padre
commit
1857a87c5e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/Http/Controllers/Game/LoginController.php

+ 2 - 1
app/Http/Controllers/Game/LoginController.php

@@ -706,7 +706,8 @@ class LoginController extends Controller
         $user=null;
         if($type=='guest'){
             //游客模式打开,随时可以登录
-            $user=GlobalUserInfo::where('FPID',$FPID)->where('Phone','')->where('Email','')->first();
+            //$user=GlobalUserInfo::where('FPID',$FPID)->where('Phone','')->where('Email','')->first();
+            $user=GlobalUserInfo::where('FPID',$FPID)->first();
             if(!$user){
                 return $this->registerUser($request);
             }else{