From 97de31e9a015cf139f5293a22e1575a43dfb6733 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 24 四月 2026 14:16:02 +0800
Subject: [PATCH] WEBGL ANDROID适配
---
Main/Utility/OperationLogCollect.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Main/Utility/OperationLogCollect.cs b/Main/Utility/OperationLogCollect.cs
index ca01902..132fdd0 100644
--- a/Main/Utility/OperationLogCollect.cs
+++ b/Main/Utility/OperationLogCollect.cs
@@ -8,8 +8,11 @@
public class OperationLogCollect : Singleton<OperationLogCollect>
{
+#if TEST_BUILD
const string bugReportUrl = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
-
+#else
+ const string bugReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
+#endif
public void BugReport(string _title, string _content)
{
var tables = new Dictionary<string, string>();
@@ -87,8 +90,12 @@
#endif
}
-
+#if TEST_BUILD
const string chatReportUrl = "http://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
+#else
+ const string chatReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
+#endif
+
public void ChatReport(string content, string channelName, string toPlayer, int chatType)
{
#if !UNITY_EDITOR
--
Gitblit v1.8.0