|
@@ -199,8 +199,7 @@ class LoginController extends Controller
|
|
|
AccountPhone::insert(compact('UserID', 'PhoneNum', 'BindDate', 'Channel', 'RegionID'));
|
|
AccountPhone::insert(compact('UserID', 'PhoneNum', 'BindDate', 'Channel', 'RegionID'));
|
|
|
} catch (\Throwable $e) {
|
|
} catch (\Throwable $e) {
|
|
|
if (stripos($e->getMessage(), 'duplicate key') !== false) {
|
|
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;
|
|
throw $e;
|
|
|
}
|
|
}
|