예제 #1
0
 public AdminController(IAccountManageService objService, ISysMenuService menuService, ISysWechatConfigService wechatConfigService)
     : base(objService)
 {
     _accountManageService = objService;
     _menuService          = menuService;
     _wechatConfigService  = wechatConfigService;
 }
 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(), "语音" }
     };
 }
예제 #3
0
 public AppManageController(ICategoryService newsService, ISysWechatConfigService sysWechatConfigService)
     : base(newsService)
 {
     _sysWechatConfigService = sysWechatConfigService;
 }