hch
2026-04-22 69783a7bc64858681fffe600d6570b7b723032f2
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 加载代码
    //6006 启动代码
    //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)