From b9281493cca9bc818b69a19fb435937f9accd1ae Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 11 六月 2025 19:43:11 +0800 Subject: [PATCH] 0312 提示除以10000 --- System/Login/LoginModel.cs | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/System/Login/LoginModel.cs b/System/Login/LoginModel.cs index 0de4064..0a0b9d2 100644 --- a/System/Login/LoginModel.cs +++ b/System/Login/LoginModel.cs @@ -80,14 +80,13 @@ private void OnSDKAccountLoginOk(ynmbxxjUtil.FP_LoginOk _result) { + sdkLogined = true; sdkLoginResult = _result; - if (!DebugUtility.Instance.isWhiteListAccount) { DebugUtility.Instance.RequestWhiteListAuthority(sdkLoginResult.account); } - ServerListCenter.Instance.RequestServerListPlayer(sdkLoginResult.account); ynmbxxjUtil.Instance.MakeKeyAndVisible(); OperationLogCollect.Instance.RecordLauchEvent(5); @@ -287,6 +286,7 @@ case VersionAuthority.Release: send.Extra = VersionConfig.Get().SpID + "|" + ynmbxxjUtil.Instance.Device.uniqueID; send.ExtraLen = (ushort)send.Extra.Length; + if (ynmbxxjUtil.Instance.ChannelPlatform == ynmbxxjUtil.E_ChannelPlatform.Free) { send.IDType = 1; @@ -308,11 +308,18 @@ send.Extra += ("|" + sdkLoginResult.token + "|" + sdkLoginResult.qkUserName); send.ExtraLen = (ushort)send.Extra.Length; } - + string deviceInfo = "ios"; + try + { + deviceInfo = DeviceUtility.GetDeviceModel(); + deviceInfo.Replace(" ", "").Replace("=", "").Replace("%", "").Replace("-", "").Replace("|",""); + } + catch (Exception ex) + { + Debug.Log("C0101_tagCPlayerLogin Exception: " + ex.Message); + } send.AccID = sdkLoginResult.account; - var deviceInfo = DeviceUtility.GetDeviceModel(); - deviceInfo.Replace(" ", "").Replace("=", "").Replace("%", "").Replace("-", "").Replace("|",""); var versionStr = StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", deviceInfo); send.Extra += ("|" + versionStr.Substring(0, Math.Min(24, versionStr.Length))); -- Gitblit v1.8.0