Пример #1
0
        static string ProcessKeyWord(WechatContext context)
        {
            IWechatService service = AppEngine.Default.GetService <IWechatService>();
            var            list    = service.GetWechatResponse(context.openId, Module.Wechat.Entity.SearchType.None, context.CurrentOfficialAccount.Id);

            return("Keyword");
        }
 public FeedsController(
     IConnectionManager signalRConnectionManager, ICustomerService customerService, IWechatService wechatService, ISessionService sessionService, ILoggingRepository loggingRepository)
     : base(signalRConnectionManager)
 {
     this._customerService   = customerService;
     this._wechatService     = wechatService;
     this._sessionService    = sessionService;
     this._loggingRepository = loggingRepository;
 }
Пример #3
0
 public UserController(IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IWechatCustomApi wechatCustomApi,
     IWechatUserService wechatUserService,
     IWechatService wechatService) {
     _authenticationService = authenticationService;
     _membershipService = membershipService;
     _wechatCustomApi = wechatCustomApi;
     _wechatUserService = wechatUserService;
     _wechatService = wechatService;
 }
Пример #4
0
 public WeAppController(
     ILogger <WeAppController> logger,
     IWeChatContainer container,
     IAppService appService,
     IWechatService wechatService)
     : base(logger)
 {
     this.logger        = logger;
     this.app           = container.GetApp();
     this.appService    = appService;
     this.wechatService = wechatService;
 }
Пример #5
0
 public WechatController(LogInManager logInManager,
                         ITenantCache tenantCache,
                         AbpLoginResultTypeHelper abpLoginResultTypeHelper,
                         TokenAuthConfiguration configuration,
                         UserManager userManager,
                         ICacheManager cacheManager,
                         IOptions <JwtBearerOptions> jwtOptions,
                         IExternalAuthManager externalAuthManager,
                         IOptions <IdentityOptions> identityOptions,
                         IWechatService wechatService,
                         SignInManager signInManager)
     : base(logInManager, tenantCache, abpLoginResultTypeHelper, configuration, userManager, cacheManager, jwtOptions, externalAuthManager, identityOptions)
 {
     _wechatService     = wechatService;
     _signInManager     = signInManager;
     RecaptchaValidator = NullRecaptchaValidator.Instance;
 }
Пример #6
0
 public UsersController(IHttpContextAccessor accessor, IWechatService wechat, IUserService users)
 {
     _accessor = accessor;
     _wechat   = wechat;
     _users    = users;
 }
Пример #7
0
 public WeChatController(
     IWechatService wechatService,
     IWechatCustomApi wechatCustomApi) {
     _wechatService = wechatService;
     _wechatCustomApi = wechatCustomApi;
 }
Пример #8
0
 public NewsController(IWechatService wechatService, ILoggerFactory loggerFactory, ITenant tenant) : base(loggerFactory, tenant)
 {
     this.wechatService = wechatService;
     this.db            = OpenDatabase.GetDatabase();
 }
Пример #9
0
 public WechatCustomApi(ICacheProvider cacheProvider, IWechatService wechatService) {
     _cacheProvider = cacheProvider;
     _wechatModel = wechatService.Get();
 }