laowu 1 mese fa
parent
commit
ab97d36376
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Controllers/Game/LoginController.php

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

@@ -177,7 +177,7 @@ class LoginController extends Controller
 
         $Phone = $this->checkPhone($PhoneNum, $RegisterLocation, $request);
         //有错误返回
-        if (is_array($Phone)){
+        if (is_array($Phone) || is_object($Phone)){
             Log::info(json_encode($Phone),[$Phone,$PhoneCode]);
             return $Phone;
         }