/// <summary>
    /// 数据上报
    /// </summary>
    /// <param 上报事件名 ="eventName"></param>
    /// <param 具体数据 ="datas"></param>
    public static void ReportEvent(string eventName, Dictionary <string, string> datas)
    {
        CitentReport2Server msg = new CitentReport2Server();

        msg.eventName = eventName;

        msg.datas = KeyValueData.Dictionary2KeyValueDataList(datas);

        JsonMessageProcessingController.SendMessage(msg);
    }
Example #2
0
    public override void Log(string eventID, Dictionary <string, string> data)
    {
        CitentReport2Server msg = new CitentReport2Server();

        msg.eventName = eventID;

        msg.datas = KeyValueData.Dictionary2KeyValueDataList(data);

        JsonMessageProcessingController.SendMessage(msg);
    }