public ClientAppService( IGuidGenerator guidGenerator, IWeixinAppService weixinAppService, IMallShopLookupService shopLookupService, IMallShopRepository shopRepository, IReadOnlyRepository <Address, Guid> addressRepository, IRepository <ProductOrder, Guid> orderRepository, IRepository <TenPayNotify, Guid> tenpayRepository, IPayOrderRepository payOrderRepository, ISettingProvider setting, IAppProvider appProvider, IHttpContextAccessor httpContextAccessor, ILocalEventBus eventBus, ICapPublisher capBus ) { _guidGenerator = guidGenerator; _weixinAppService = weixinAppService; _shopLookupService = shopLookupService; _shopRepository = shopRepository; _addressRepository = addressRepository; _orderRepository = orderRepository; _tenpayRepository = tenpayRepository; _payOrderRepository = payOrderRepository; _setting = setting; _appProvider = appProvider; _httpContextAccessor = httpContextAccessor; _eventBus = eventBus; _capBus = capBus; }
public WwApp04Controller(IHostingEnvironment env, IHubContext <MyChatHub> context, IWeixinAppService wxAppService) { var appConfiguration = env.GetAppConfiguration(); _corpId = appConfiguration["SenparcWeixinSetting:CorpId"]; _secret = appConfiguration[string.Format("SenparcWeixinSetting:{0}:Secret", "App04")]; _agentId = appConfiguration[string.Format("SenparcWeixinSetting:{0}:AgentId", "App04")]; _context = context; _wxAppService = wxAppService; }
public ClientAppService( IWeixinAppService weixinAppService, IMallShopLookupService shopLookupService, IMallShopRepository shopRepository, IReadOnlyRepository <Address, Guid> addressRepository, ISettingProvider setting) { _weixinAppService = weixinAppService; _shopLookupService = shopLookupService; _shopRepository = shopRepository; _addressRepository = addressRepository; _setting = setting; }
public ClientAppService( IGuidGenerator guidGenerator, IWeixinAppService weixinAppService, IMallShopLookupService shopLookupService, IMallShopRepository shopRepository, IReadOnlyRepository <Address, Guid> addressRepository, IRepository <ProductOrder, Guid> orderRepository, ISettingProvider setting) { _guidGenerator = guidGenerator; _weixinAppService = weixinAppService; _shopLookupService = shopLookupService; _shopRepository = shopRepository; _addressRepository = addressRepository; _orderRepository = orderRepository; _setting = setting; }
public ClientAppService( //其它模块 IGuidGenerator guidGenerator, ICapPublisher capBus, ISignatureGenerator signatureGenerator, IWeixinAppService weixinAppService, IAppDefinitionManager appDefinitionManager, IAppProvider appProvider, //本模块 IMallShopLookupService shopLookupService, IMallShopRepository shopRepository, IReadOnlyRepository <Address, Guid> addressRepository, IRepository <ProductOrder, Guid> orderRepository, IRepository <TenPayNotify, Guid> tenpayRepository, IProductCategoryRepository categoryRepository, IRepository <ProductSpu, Guid> spuRepository, IPayOrderRepository payOrderRepository, //系统 ISettingProvider setting, IHttpContextAccessor httpContextAccessor, ILocalEventBus eventBus, IMediator mediator ) { _guidGenerator = guidGenerator; _weixinAppService = weixinAppService; _shopLookupService = shopLookupService; _shopRepository = shopRepository; _addressRepository = addressRepository; _orderRepository = orderRepository; _tenpayRepository = tenpayRepository; _categoryRepository = categoryRepository; _spuRepository = spuRepository; _payOrderRepository = payOrderRepository; _setting = setting; _appProvider = appProvider; _httpContextAccessor = httpContextAccessor; _eventBus = eventBus; _mediator = mediator; _capBus = capBus; _appDefinitionManager = appDefinitionManager; _signatureGenerator = signatureGenerator; }