/// <summary>
 ///
 /// </summary>
 /// <param name="unitOfWork"></param>
 /// <param name="imageService"></param>
 /// <param name="articleThumbsUpService"></param>
 public ArticleInfoService(IUnitOfWork unitOfWork,
                           IImageInfoService imageService,
                           IArticleThumbsUpService articleThumbsUpService)
     : base("CAAdmin")
 {
     _imageService           = imageService;
     _articleThumbsUpService = articleThumbsUpService;
 }
 public MessageTextService(IUnitOfWork unitOfWork,
                           IArticleThumbsUpService articleThumbsUpService,
                           IPushService pushService,
                           IPushHistoryService pushHistoryService)
     : base("CAAdmin")
 {
     _pushService        = pushService;
     _pushHistoryService = pushHistoryService;
 }
Exemple #3
0
 public MessageController(IMessageService objService, IArticleThumbsUpService articleThumbsUpService, IWechatMessageLogService messageLogService, IAutoReplyService autoReplyService, IWechatPreviewMessageLogService previewMessageLogService)
     : base(objService)
 {
     _objService               = objService;
     _articleThumbsUpService   = articleThumbsUpService;
     _messageLogService        = messageLogService;
     _autoReplyService         = autoReplyService;
     _previewMessageLogService = previewMessageLogService;
 }
Exemple #4
0
 public ArticleInfoService(IUnitOfWork unitOfWork,
                           IImageInfoService imageService,
                           IArticleThumbsUpService articleThumbsUpService, ICacheManager cacheManager)
     : base("CAAdmin")
 {
     _imageService           = imageService;
     _articleThumbsUpService = articleThumbsUpService;
     _cacheManager           = cacheManager;
 }
Exemple #5
0
 public MessageService(IUnitOfWork unitOfWork,
                       IArticleThumbsUpService articleThumbsUpService, IPushService pushService, IPushHistoryService pushHistoryService, ICacheManager cacheManager)
     : base("CAAdmin")
 {
     _articleThumbsUpService = articleThumbsUpService;
     _pushService            = pushService;
     _pushHistoryService     = pushHistoryService;
     _cacheManager           = cacheManager;
 }
 public ArticleInfoController(IArticleInfoService objService,
                              IArticleThumbsUpService articleThumbsUpService,
                              IMessageService messageService
                              )
     : base(objService)
 {
     _objService             = objService;
     _messageService         = messageService;
     _articleThumbsUpService = articleThumbsUpService;
 }
Exemple #7
0
 //记录用户行为
 //   Innocellence.WeChat.Domain.Common.WebRequestPost wr = new Innocellence.WeChat.Domain.Common.WebRequestPost();
 public ArticleInfoController(IArticleInfoService objService,
                              IArticleThumbsUpService articleThumbsUpService,
                              IMessageService messageService,
                              IAddressBookService addressBookService,
                              IArticleInfoReadHistoryService articleInfoReadHistoryService
                              )
     : base(objService)
 {
     _objService                    = objService;
     _messageService                = messageService;
     _articleThumbsUpService        = articleThumbsUpService;
     _addressBookService            = addressBookService;
     _articleInfoReadHistoryService = articleInfoReadHistoryService;
 }
 //记录用户行为
 //Innocellence.WeChat.Domain.Common.WebRequestPost wr = new Innocellence.WeChat.Domain.Common.WebRequestPost();
 public ArticleInfoController(IArticleInfoService objService,
                              IArticleThumbsUpService articleThumbsUpService,
                              IMessageService messageService,
                              IWechatMessageLogService messageLogService,
                              IAutoReplyService autoReplyService,
                              IWechatPreviewMessageLogService previewMessageLogService,
                              IWechatMPUserService wechatMPUserService,
                              IArticleInfoReadHistoryService articleInfoReadHistoryService
                              )
     : base(objService)
 {
     _objService                    = objService;
     _messageService                = messageService;
     _articleThumbsUpService        = articleThumbsUpService;
     _messageLogService             = messageLogService;
     _autoReplyService              = autoReplyService;
     _previewMessageLogService      = previewMessageLogService;
     _wechatMPUserService           = wechatMPUserService;
     _articleInfoReadHistoryService = articleInfoReadHistoryService;
 }
 public MessageController(IMessageService objService, IArticleThumbsUpService articleThumbsUpService)
     : base(objService)
 {
     _objService             = objService;
     _articleThumbsUpService = articleThumbsUpService;
 }
 public MessageService(IUnitOfWork unitOfWork,
                       IArticleThumbsUpService articleThumbsUpService)
     : base("CAAdmin")
 {
     _articleThumbsUpService = articleThumbsUpService;
 }
 public AdminAppController(IArticleInfoService objService, IArticleThumbsUpService articleThumbsUpService)
     : base(objService, articleThumbsUpService)
 {
     _objService = objService;
 }