hch
2025-07-16 7677bf7ab5f15f55b7e1366f1601e541a9a31f4d
Main/System/Login/LoginManager.cs
@@ -82,10 +82,6 @@
        sdkLogined = true;
        sdkLoginResult = _result;
        if (!DebugUtility.Instance.isWhiteListAccount)
        {
            DebugUtility.Instance.RequestWhiteListAuthority(sdkLoginResult.account);
        }
        ServerListCenter.Instance.RequestServerListPlayer(sdkLoginResult.account);
        SDKUtils.Instance.MakeKeyAndVisible();
@@ -317,22 +313,22 @@
                send.ExtraLen = 0;
                send.Extra = "";
                break;
            case VersionAuthority.Release:
            {
                var deviceInfo = DeviceUtility.GetDeviceModel();
                deviceInfo.Replace(" ", "").Replace("=", "").Replace("%", "").Replace("-", "").Replace("|", "");
                var versionStr = StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", deviceInfo);
            case VersionAuthority.Release:
            {
                var deviceInfo = DeviceUtility.GetDeviceModel();
                deviceInfo.Replace(" ", "").Replace("=", "").Replace("%", "").Replace("-", "").Replace("|", "");
                var versionStr = StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", deviceInfo);
                send.Extra = StringUtility.Contact(VersionConfig.Get().SpID, "|",
                                                    SDKUtils.Instance.Device.uniqueID, "|",
                                                    sdkLoginResult.token, "|",
                                                    sdkLoginResult.qkUserName, "|",
                                                    versionStr.Substring(0, Math.Min(24, versionStr.Length)));
                Debug.Log("=====> extra: " + send.Extra);
                send.ExtraLen = (ushort)send.Extra.Length;
                                                    versionStr.Substring(0, Math.Min(24, versionStr.Length)));
                Debug.Log("=====> extra: " + send.Extra);
                send.ExtraLen = (ushort)send.Extra.Length;
                send.IDType = (byte)SDKUtils.Instance.ChannelPlatform;
                send.Password = sdkLoginResult.token;
                send.AccID = sdkLoginResult.account;
@@ -356,15 +352,15 @@
                {
                    send.Adult = 0;
                }
                break;
            }
                break;
            }
        }
        return send;
    }
    public string GetVersionStr()
    {
        return StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", InitialFunctionConfig.Get("version").Numerical1);
    {
        return StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", InitialFunctionConfig.Get("version").Numerical1);
    }
}