コード例 #1
0
 public TokenAuthController(LogInManager logInManager,
                            ITenantCache tenantCache,
                            AbpLoginResultTypeHelper abpLoginResultTypeHelper,
                            TokenAuthConfiguration configuration,
                            IExternalAuthConfiguration externalAuthConfiguration,
                            IExternalAuthManager externalAuthManager,
                            UserRegistrationManager userRegistrationManager,
                            IYaeherUserService yaeherUserService,
                            IHostingEnvironment hostingEnvironment,
                            IUserManagerService userManagerService,
                            ISystemParameterService systemParameterService,
                            IYaeherUserPaymentService yaeherUserPaymentService,
                            ISystemConfigsService systemConfigsService,
                            ISystemTokenService systemTokenService,
                            IYaeherDoctorService yaeherDoctorService,
                            IUnitOfWorkManager unitOfWorkManager)
 {
     _logInManager              = logInManager;
     _tenantCache               = tenantCache;
     _abpLoginResultTypeHelper  = abpLoginResultTypeHelper;
     _configuration             = configuration;
     _externalAuthConfiguration = externalAuthConfiguration;
     _externalAuthManager       = externalAuthManager;
     _userRegistrationManager   = userRegistrationManager;
     _yaeherUserService         = yaeherUserService;
     _userManagerService        = userManagerService;
     _systemParameterService    = systemParameterService;
     _appConfiguration          = hostingEnvironment.GetAppConfiguration();
     _yaeherUserPaymentService  = yaeherUserPaymentService;
     _systemConfigsService      = systemConfigsService;
     _systemTokenService        = systemTokenService;
     _yaeherDoctorService       = yaeherDoctorService;
     _unitOfWorkManager         = unitOfWorkManager;
 }
コード例 #2
0
 /// <summary>
 /// 微信消息发送记录 构造函数
 /// </summary>
 /// <param name="repository"></param>
 /// <param name="YaeherUserrepository"></param>
 /// <param name="YaeherConsultationrepository"></param>
 /// <param name="YaeherMessageTemplaterepository"></param>
 /// <param name="YaeherDoctorrepository"></param>
 /// <param name="SendMessagerepository"></param>
 /// <param name="MessageRemindrepository"></param>
 /// <param name="unitOfWorkManager"></param>
 /// <param name="SystemTokenrepository"></param>
 /// <param name="systemTokenService"></param>
 /// <param name="Evaluationrepository"></param>
 /// <param name="DoctorParaSetrepository"></param>
 /// <param name="YaeherOperListrepository"></param>
 /// <param name="HangFireJobrepository"></param>
 /// <param name="SystemParameterrepository"></param>
 public WecharSendMessageService(IRepository <WecharSendMessage> repository,
                                 IRepository <YaeherUser> YaeherUserrepository,
                                 IRepository <YaeherConsultation> YaeherConsultationrepository,
                                 IRepository <YaeherMessageTemplate> YaeherMessageTemplaterepository,
                                 IRepository <YaeherDoctor> YaeherDoctorrepository,
                                 IRepository <SendMessageTemplate> SendMessagerepository,
                                 IRepository <YaeherMessageRemind> MessageRemindrepository,
                                 IUnitOfWorkManager unitOfWorkManager,
                                 IRepository <SystemToken> SystemTokenrepository,
                                 ISystemTokenService systemTokenService,
                                 IRepository <ConsultationEvaluation> Evaluationrepository,
                                 IRepository <DoctorParaSet> DoctorParaSetrepository,
                                 IRepository <YaeherOperList> YaeherOperListrepository,
                                 IRepository <HangFireJob> HangFireJobrepository,
                                 IRepository <SystemParameter> SystemParameterrepository)
 {
     _repository                      = repository;
     _YaeherUserrepository            = YaeherUserrepository;
     _YaeherConsultationrepository    = YaeherConsultationrepository;
     _YaeherMessageTemplaterepository = YaeherMessageTemplaterepository;
     _YaeherDoctorrepository          = YaeherDoctorrepository;
     _SendMessagerepository           = SendMessagerepository;
     _MessageRemindrepository         = MessageRemindrepository;
     _unitOfWorkManager               = unitOfWorkManager;
     _SystemTokenrepository           = SystemTokenrepository;
     _systemTokenService              = systemTokenService;
     _Evaluationrepository            = Evaluationrepository;
     _DoctorParaSetrepository         = DoctorParaSetrepository;
     _YaeherOperListrepository        = YaeherOperListrepository;
     _HangFireJobrepository           = HangFireJobrepository;
     _SystemParameterrepository       = SystemParameterrepository;
 }
コード例 #3
0
 /// <summary>
 /// Home 构造函数
 /// </summary>
 /// <param name="yaeherUserService"></param>
 /// <param name="systemConfigsService"></param>
 /// <param name="systemParameterService"></param>
 /// <param name="yaeherUserPaymentService"></param>
 /// <param name="unitOfWorkManager"></param>
 /// <param name="acceptTencentWecharService"></param>
 /// <param name="acceptWecharStateService"></param>
 /// <param name="systemTokenService"></param>
 /// <param name="yaeherDoctorService"></param>
 public TencentWeCharController(IYaeherUserService yaeherUserService,
                                ISystemConfigsService systemConfigsService,
                                ISystemParameterService systemParameterService,
                                IYaeherUserPaymentService yaeherUserPaymentService,
                                IUnitOfWorkManager unitOfWorkManager,
                                IAcceptTencentWecharService acceptTencentWecharService,
                                IAcceptWecharStateService acceptWecharStateService,
                                ISystemTokenService systemTokenService,
                                IYaeherDoctorService yaeherDoctorService)
 {
     _yaeherUserService          = yaeherUserService;
     _systemConfigsService       = systemConfigsService;
     _systemParameterService     = systemParameterService;
     _yaeherUserPaymentService   = yaeherUserPaymentService;
     _unitOfWorkManager          = unitOfWorkManager;
     _acceptTencentWecharService = acceptTencentWecharService;
     _acceptWecharStateService   = acceptWecharStateService;
     _systemTokenService         = systemTokenService;
     _yaeherDoctorService        = yaeherDoctorService;
 }