From 69783a7bc64858681fffe600d6570b7b723032f2 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 22 四月 2026 19:09:44 +0800
Subject: [PATCH] 632 游戏启动记录

---
 Main/Utility/OperationLogCollect.cs |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/Main/Utility/OperationLogCollect.cs b/Main/Utility/OperationLogCollect.cs
index a7e004a..07fb46d 100644
--- a/Main/Utility/OperationLogCollect.cs
+++ b/Main/Utility/OperationLogCollect.cs
@@ -8,6 +8,46 @@
 public class OperationLogCollect : Singleton<OperationLogCollect>
 {
 
+    const string url = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
+
+    //6001 鍚姩娓告垙
+    //6002 璇锋眰鐗堟湰淇℃伅
+    //6003 鍑嗗涓嬭浇
+    //6004 寮�濮嬩笅杞�
+    //6005 鍔犺浇浠g爜
+    //6006 鍚姩浠g爜
+    //6007 杩涘叆娓告垙
+    //6008 鎷疯礉琛ㄦ牸
+    //6009 璇锋眰鏉冮檺
+    //6010 鍒濆鍖栬缃�
+    //6011 sdk鍒濆鍖�
+    //6012 娓告垙鐗堟湰淇℃伅
+    //6013 妫�娴嬭祫婧�
+    //6014 涓嬭浇璧勬簮
+    //6015 鍔犺浇璧勬簮
+    //6016 鍔犺浇琛ㄦ牸
+    //6017 鍔犺浇shader
+    //6018 鏄剧ず鐧诲綍鐣岄潰
+    public void RecordLauchEvent(int _step)
+    {
+#if !UNITY_EDITOR
+        var tables = new Dictionary<string, string>();
+        tables["OperatorID"] = VersionConfig.Get().appId;
+        tables["RegionName"] = "data";
+        tables["EventID"] = (6000 + _step).ToString();
+        tables["ProductID"] = VersionConfig.Get().gameId;
+        tables["Device"] = DeviceUtility.GetDeviceModel();
+        tables["os_version"] = DeviceUtility.GetDeviceOSLevel();
+        tables["game_version"] = StringUtility.Concat(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex.ToString());
+        tables["IMEI"] = DeviceUtility.GetDeviceUniquenessIdentify();
+        tables["Time"] = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+
+        HttpRequest.Instance.RequestHttpGet(StringUtility.Concat(url, HttpRequest.HashtablaToString(tables)), HttpRequest.defaultHttpContentType);
+#endif
+    }
+
+
+
     const string bugReportUrl = "http://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
 
     public void BugReport(string _title, string _content)

--
Gitblit v1.8.0