laowu 2 napja
szülő
commit
97f419993a
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      app/Http/Controllers/Game/LoginController.php

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

@@ -199,8 +199,7 @@ class LoginController extends Controller
             AccountPhone::insert(compact('UserID', 'PhoneNum', 'BindDate', 'Channel', 'RegionID'));
         } catch (\Throwable $e) {
             if (stripos($e->getMessage(), 'duplicate key') !== false) {
-                return apiReturnFail(['web.verify.already_bound', 'web.verify.already_bound'],
-                    GlobalUserInfo::getGameUserInfoToWeb('UserID',$first->UserID));
+                return apiReturnFail(['web.verify.already_bound', 'web.verify.already_bound']);
             }
             throw $e;
         }