少年修仙传客户端代码仓库
hch
2024-09-27 02a6cc122be80f77b81221caa4353858d849762f
0312 版本号设备汇报过滤部分字符
1个文件已修改
4 ■■■ 已修改文件
System/Login/LoginModel.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Login/LoginModel.cs
@@ -311,7 +311,9 @@
                    
                    send.AccID = sdkLoginResult.account;
                    var versionStr = StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", DeviceUtility.GetDeviceModel());
                    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, 24));
                    Debug.Log("=====> extra: " + send.Extra);