hch
2026-01-12 90f5e4297fd5265e7ac28af49236883a777e3607
0312 聊天测试
1个文件已修改
7 ■■■■ 已修改文件
Main/Utility/OperationLogCollect.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Utility/OperationLogCollect.cs
@@ -190,7 +190,9 @@
    const string chatReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
    public void ChatReport(string content, string channelName, string toPlayer, int chatType)
    {
        Debug.Log("聊天");
#if !UNITY_EDITOR
        Debug.Log("聊天11111111");
        bool isFairy = chatType == 3;
        var tables = new Dictionary<string, string>();
        tables["ProductID"] = VersionConfig.Get().gameId;
@@ -211,8 +213,9 @@
        tables["VIPLevel"] = PlayerDatas.Instance.baseData.VIPLv.ToString();
        tables["Content"] = WWW.EscapeURL(UIHelper.TrimContentToServer(content));
        tables["DeviceFlag"] = SDKUtils.Instance.Device == null ? string.Empty : SDKUtils.Instance.Device.uniqueID;
        HttpRequest.Instance.RequestHttpGet(StringUtility.Concat(chatReportUrl, HttpRequest.HashtablaToString(tables)), HttpRequest.defaultHttpContentType);
        var chatStr = StringUtility.Concat(chatReportUrl, HttpRequest.HashtablaToString(tables));
        Debug.Log("聊天: "+chatStr);
        HttpRequest.Instance.RequestHttpGet(chatStr, HttpRequest.defaultHttpContentType);
#endif
    }