示例#1
0
        public void SendFootChatPublishCollectEvent()
        {
            var newEvent = new FootChatPublishCollectEvent
            {
                Delay    = DateTime.Now.Date.AddHours(8).AddDays(1),
                Priority = 8,
                Content  = new FootChatPublishCollectContentcs
                {
                }
            };

            new Tgnet.Aliyun.MNS.EventService().Post(newEvent);
        }
示例#2
0
 public void TryHandleEvent(FootChatPublishCollectEvent @event)
 {
     try
     {
         _FootPrintEventFactory.CreateEvent(null).PushUnReadFPsOfFriendsInYesterday();
     }
     catch (System.Exception e)
     {
         Tgnet.Log.LoggerResolver.Current.Debug("推送用户未读足迹失败!");
         Tgnet.Log.LoggerResolver.Current.Fail(e);
     }
     finally
     {
         //SendFootChatPublishCollectEvent();
     }
 }