少年修仙传客户端代码仓库
hch
2025-06-11 06c4cb845f828b0e4029d52392b2cea7fb42371c
System/Login/LoginModel.cs
@@ -294,8 +294,11 @@
                    Debug.Log("InterTest=====> extra: " + send.Extra);
                    break;
                case VersionAuthority.Release:
                    Debug.LogFormat("C0101_tagCPlayerLogin 1111111111111");
                    send.Extra = VersionConfig.Get().SpID + "|" + ynmbxxjUtil.Instance.Device.uniqueID;
                    send.ExtraLen = (ushort)send.Extra.Length;
                    Debug.LogFormat("C0101_tagCPlayerLogin 2222222222222");
                    if (ynmbxxjUtil.Instance.ChannelPlatform == ynmbxxjUtil.E_ChannelPlatform.Free)
                    {
                        send.IDType = 1;
@@ -313,16 +316,18 @@
                        ynmbxxjUtil.Instance.ChannelPlatform == ynmbxxjUtil.E_ChannelPlatform.en
                        )
                    {
                        Debug.LogFormat("C0101_tagCPlayerLogin 333333333333333");
                        send.IDType = (byte)ynmbxxjUtil.Instance.ChannelPlatform;
                        send.Extra += ("|" + sdkLoginResult.token + "|" + sdkLoginResult.qkUserName);
                        send.ExtraLen = (ushort)send.Extra.Length;
                        Debug.LogFormat("C0101_tagCPlayerLogin 444444444444444444");
                    }
                    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);
                    Debug.LogFormat("C0101_tagCPlayerLogin 5555555555555555");
                    send.Extra += ("|" + versionStr.Substring(0, Math.Min(24, versionStr.Length)));
                    Debug.Log("Release=====> extra: " + send.Extra);