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