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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 12
0
 public ActivityController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ActivityCate)
 {
 }
Exemplo n.º 13
0
 public InterfaceController(IArticleInfoService articleInfoService)
     : base(articleInfoService)
 {
 }
 public DisclamerController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
 }
Exemplo n.º 15
0
 public LeavemsgService(ILeavemsgRepository leavemsgRepository, IQQUserinfoService qQUserinfoService, IArticleInfoService articleInfoService) : base(leavemsgRepository)
 {
     _leavemsgRepository = leavemsgRepository;
     _qQUserinfoService  = qQUserinfoService;
     _articleInfoService = articleInfoService;
 }
Exemplo n.º 16
0
 public SendMessageLogController(IMessageLogService newsService, IArticleInfoService articleInfoService) : base(newsService)
 {
     this._articleInfoService = articleInfoService;
 }
Exemplo n.º 17
0
 public ACCController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ACC)
 {
 }
Exemplo n.º 18
0
 public NewsController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.NewsCate)
 {
 }
Exemplo n.º 19
0
 public SalesTrainingController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.SalesTrainingCate)
 {
 }
Exemplo n.º 20
0
 public HongtuController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.HongtuCate)
 {
 }
Exemplo n.º 21
0
 public AdminAppController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
 }
Exemplo n.º 22
0
 public ITHelpdeskController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.ITHelpdeskCate)
 {
 }
Exemplo n.º 23
0
 public VideoController(IArticleInfoService objService)
     : base(objService)
 {
     _objService = objService;
     AppId       = (int)CategoryType.VideoCate;
 }
Exemplo n.º 24
0
 public SZController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.SZ)
 {
 }
Exemplo n.º 25
0
 public HomeController(IArticleInfoService objService)
     : base(objService)
 {
 }
 public MessageController(IArticleInfoService objService, int appId)
     : base(objService)
 {
     AppId         = appId;
     ViewBag.AppId = AppId;
 }
Exemplo n.º 27
0
 //private readonly IArticleTagsService _articleTagsService;
 public ArticleController(IArticleInfoService articleInfoService, IArticleCategoryService articleCategoryService, IArticleTagsService articleTagsService)
 {
     _articleInfoService     = articleInfoService;
     _articleCategoryService = articleCategoryService;
     _articleTagsService     = articleTagsService;
 }
Exemplo n.º 28
0
 public ArticleInfoController(IArticleInfoService objService)
     : base(objService)
 {
     _articleInfoService = objService;
     AppId = (int)CategoryType.Undefined;
 }
Exemplo n.º 29
0
 public JohnLAccessChinaController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.JohnLAccessChina)
 {
 }
Exemplo n.º 30
0
 public VideoController(IArticleInfoService objService)
     : base(objService, (int)CategoryType.VideoCate)
 {
 }