public MessageController(
     IArticleInfoService objServiceArticle,
     IAttachmentsItemService attachmentsItemService,
     ISysWechatConfigService SysWechatConfigService,
     IWechatMPUserService WechatMPUserService,
     IMessageLogService messageLogService,
     IAddressBookService addressBookService,
     IWeChatUserRequestMessageLogHandler WeChatUserRequestMessageLogHandler)
     : base(objServiceArticle)
 {
     // _objService = objService;
     //_messageService = objService;
     _objServiceArticle                  = objServiceArticle;
     _attachmentsItemService             = attachmentsItemService;
     _WechatMPUserService                = WechatMPUserService;
     _SysWechatConfigService             = SysWechatConfigService;
     _WeChatUserRequestMessageLogHandler = WeChatUserRequestMessageLogHandler;
     _MessageLogService                  = messageLogService;
     _addressBookService                 = addressBookService;
     //   _previewMessageLogService = previewMessageLogService;
     //  AppId = (int)CategoryType.Undefined;
     ViewBag.AppId        = AppId;
     ViewBag.KeywordTypes = new Dictionary <string, string>()
     {
         { WechatMessageLogType.file.ToString(), "文件" },
         { WechatMessageLogType.image.ToString(), "图片" },
         { WechatMessageLogType.news.ToString(), "图文" },
         { WechatMessageLogType.text.ToString(), "文本" },
         { WechatMessageLogType.video.ToString(), "视频" },
         { WechatMessageLogType.voice.ToString(), "语音" }
     };
 }
Example #2
0
 public SmsController(
     ICustomerService customerService,
     IMessageLogService messageLogService,
     IState stateManager)
 {
     _customerService   = customerService;
     _messageLogService = messageLogService;
     _stateManager      = stateManager;
 }
 public MessagingController(
     StandardEmailSender emailSender,
     ISmsSender smsSender,
     IRegistrationService registrationService,
     IMessageLogService messageLog,
     RegistrationEmailSender registrationEmailSender)
 {
     _emailSender             = emailSender;
     _registrationEmailSender = registrationEmailSender;
     _smsSender           = smsSender;
     _messageLog          = messageLog;
     _registrationService = registrationService;
 }
Example #4
0
 public MessagingController(
     IApplicationEmailSender emailSender,
     ISmsSender smsSender,
     IRegistrationService registrationService,
     IMessageLogService messageLog,
     RegistrationEmailSender registrationEmailSender,
     ILogger <MessagingController> logger)
 {
     _emailSender             = emailSender;
     _registrationEmailSender = registrationEmailSender;
     _logger              = logger;
     _smsSender           = smsSender;
     _messageLog          = messageLog;
     _registrationService = registrationService;
 }
 public MessageLogController(IMessageLogService messageLogService)
 {
     _messageLogService = messageLogService;
 }
Example #6
0
 public SendMessageLogController(IMessageLogService newsService, IArticleInfoService articleInfoService) : base(newsService)
 {
     this._articleInfoService = articleInfoService;
 }
 public MessagingLogModel(IMessageLogService messageLogService, IEventInfoRetrievalService eventinfos)
 {
     _messageLogService = messageLogService;
     _eventinfos        = eventinfos;
 }