Esempio n. 1
0
 private void SendMms(NpcMmsSend npcMmsSend)
 {
     var npcMmsSendService = new NpcMmsSendService();
     try
     {
         npcMmsSendService.SingleSend(npcMmsSend);
     }
     catch (Exception exception)
     {
         Logger.ErrorFormat("发送npcMmsSendId={0}时错误:{1}", npcMmsSend.Id, exception);
     }
 }
Esempio n. 2
0
 public NpcMmsJob()
 {
     _logger = new DefaultLoggerFactory().GetLogger();
     _npcMmsSendService = new NpcMmsSendService();
 }