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(), "语音" }
     };
 }
        public ArticleInfoController(IArticleInfoService objService, int appId)
            : base(objService)
        {
            _articleInfoService = objService;

            AppId         = appId;
            ViewBag.AppId = AppId;
        }
 public PerformanceLoggingController(IPerformanceLoggingService objService,
                                     IArticleInfoService articleInfoService,
                                     IMessageService messageService
                                     )
     : base(objService)
 {
     _objService         = objService;
     _messageService     = messageService;
     _articleInfoService = articleInfoService;
 }
 public ArticleInfoController(IArticleInfoService objService,
                              IArticleThumbsUpService articleThumbsUpService,
                              IMessageService messageService
                              )
     : base(objService)
 {
     _objService             = objService;
     _messageService         = messageService;
     _articleThumbsUpService = articleThumbsUpService;
 }
예제 #5
0
 public ArticleCommentController(IArticleCommentService newsService,
                                 IArticleCommentThumbUpService articleCommentThumbUpService,
                                 IWechatMPUserService wechatMPUserService,
                                 IAddressBookService addressBookService,
                                 IArticleInfoService articleInfoService) : base(newsService)
 {
     this._articleCommentThumbUpService = articleCommentThumbUpService;
     this._articleCommentService        = newsService;
     this._wechatMPUserService          = wechatMPUserService;
     this._addressBookService           = addressBookService;
     this._articleInfoService           = articleInfoService;
 }
예제 #6
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;
 }
 public AutoReplyController(IAutoReplyService objService,
                            IArticleInfoService articleInfoService,
                            IAttachmentsItemService fileManageService,
                            IAttachmentsItemService attachmentsItemService,
                            IWechatUserRequestMessageTagService messageTagService,
                            ISystemUserTagService systemUserTagService)
     : base(objService)
 {
     _autoReplyService       = objService;
     _articleInfoService     = articleInfoService;
     _fileManageService      = fileManageService;
     _attachmentsItemService = attachmentsItemService;
     _messageTagService      = messageTagService;
     _systemUserTagService   = systemUserTagService;
     AppId         = (int)CategoryType.Undefined;
     ViewBag.AppId = AppId;
 }
 //记录用户行为
 //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 ArticleInfoController(IArticleInfoService articleInfoService)
 {
     _articleInfoService = articleInfoService;
 }
예제 #10
0
 public OAuthController(IArticleInfoService newsService, IOAuthService authService, IOauthClientDataService clientDataService)
     : base(newsService)
 {
     _authService       = authService;
     _clientDataService = clientDataService;
 }
 public AppMenuController(ISmartPhoneMenuService newsService, IArticleInfoService articleInfoService)
     : base(newsService)
 {
     _menuService        = newsService;
     _articleInfoService = articleInfoService;
 }
예제 #12
0
 public ActivityController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ActivityCate)
 {
 }
예제 #13
0
 public InterfaceController(IArticleInfoService articleInfoService)
     : base(articleInfoService)
 {
 }
 public DisclamerController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
 }
예제 #15
0
 public LeavemsgService(ILeavemsgRepository leavemsgRepository, IQQUserinfoService qQUserinfoService, IArticleInfoService articleInfoService) : base(leavemsgRepository)
 {
     _leavemsgRepository = leavemsgRepository;
     _qQUserinfoService  = qQUserinfoService;
     _articleInfoService = articleInfoService;
 }
예제 #16
0
 public SendMessageLogController(IMessageLogService newsService, IArticleInfoService articleInfoService) : base(newsService)
 {
     this._articleInfoService = articleInfoService;
 }
예제 #17
0
 public ACCController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ACC)
 {
 }
예제 #18
0
 public NewsController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.NewsCate)
 {
 }
예제 #19
0
 public SalesTrainingController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.SalesTrainingCate)
 {
 }
예제 #20
0
 public HongtuController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.HongtuCate)
 {
 }
예제 #21
0
 public AdminAppController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
 }
예제 #22
0
 public ITHelpdeskController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ITHelpdeskCate)
 {
 }
예제 #23
0
 public VideoController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
     AppId       = (int)CategoryType.VideoCate;
 }
예제 #24
0
 public SZController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.SZ)
 {
 }
예제 #25
0
 public HomeController(IArticleInfoService objService)
     : base(objService)
 {
 }
 public MessageController(IArticleInfoService objService, int appId)
     : base(objService)
 {
     AppId         = appId;
     ViewBag.AppId = AppId;
 }
예제 #27
0
 //private readonly IArticleTagsService _articleTagsService;
 public ArticleController(IArticleInfoService articleInfoService, IArticleCategoryService articleCategoryService, IArticleTagsService articleTagsService)
 {
     _articleInfoService     = articleInfoService;
     _articleCategoryService = articleCategoryService;
     _articleTagsService     = articleTagsService;
 }
예제 #28
0
 public ArticleInfoController(IArticleInfoService objService)
     : base(objService)
 {
     _articleInfoService = objService;
     AppId = (int)CategoryType.Undefined;
 }
예제 #29
0
 public JohnLAccessChinaController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.JohnLAccessChina)
 {
 }
예제 #30
0
 public VideoController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.VideoCate)
 {
 }