laowu 2 dní pred
rodič
commit
97f419993a

+ 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;
         }