public ProductSpuAppService( IGuidGenerator guidGenerator, IRepository <ProductSpu, Guid> repository, IRepository <ProductSku, Guid> skuRepository, IRepository <ProductCategory, Guid> categoryRepository, IRepository <AppProductSpu> appProductRepository, IRepository <QrDetail, Guid> qrDetailRepository, IMallShopRepository mallShopRepository, IMallShopLookupService mallShopLookupService, IAppDefinitionManager appDefinitionManager, IMediator mediator) : base(repository) { base.GetListPolicyName = MallPermissions.Products.Default; base.CreatePolicyName = MallPermissions.Products.Create; base.UpdatePolicyName = MallPermissions.Products.Update; base.DeletePolicyName = MallPermissions.Products.Delete; _guidGenerator = guidGenerator; _skuRepository = skuRepository; _categoryRepository = categoryRepository; _appProductRepository = appProductRepository; _qrDetailRepository = qrDetailRepository; _mallShopRepository = mallShopRepository; _mallShopLookupService = mallShopLookupService; _appDefinitionManager = appDefinitionManager; _mediator = mediator; }
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 ProductOrderAppService( IPayApi payApi, IRepository <ProductOrder, Guid> repository, IPayOrderRepository payOrderRepository, IMallShopLookupService mallShopLookupService, ISettingProvider setting, IHttpContextAccessor httpContext, IHttpContextAccessor httpContextAccessor, IAsyncQueryableExecuter asyncQueryableExecuter, IAppProvider appProvider, RabbitMqPublisher rabbit, IMediator mediator ) : base(repository) { _payApi = payApi; _payOrderRepository = payOrderRepository; _mallShopLookupService = mallShopLookupService; _setting = setting; _httpContext = httpContext; _httpContextAccessor = httpContextAccessor; _asyncQueryableExecuter = asyncQueryableExecuter; _appProvider = appProvider; _rabbit = rabbit; _mediator = mediator; base.GetListPolicyName = MallPermissions.ProductOrders.Default; base.GetPolicyName = MallPermissions.ProductOrders.Default; base.UpdatePolicyName = MallPermissions.ProductOrders.Update; base.DeletePolicyName = MallPermissions.ProductOrders.Delete; }
public MallModuleTests() { _ShopLookupService = GetRequiredService <IMallShopLookupService>(); _ShopRepository = GetRequiredService <IMallShopRepository>(); _shopAppService = GetRequiredService <IMallShopAppService>(); _spuAppService = GetRequiredService <IProductSpuAppService>(); _currentUser = GetRequiredService <ICurrentUser>(); }
public MallShopAppService( IMallShopLookupService mallShopLookupService, IMallShopRepository mallShopRepository ) { _mallShopLookupService = mallShopLookupService; _mallShopRepository = mallShopRepository; }
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 ProductSpuAppService( IGuidGenerator guidGenerator, IRepository <ProductSpu, Guid> repository, IRepository <ProductSku, Guid> skuRepository, IRepository <ProductCategory, Guid> categoryRepository, IMallShopRepository mallShopRepository, IMallShopLookupService mallShopLookupService ) : base(repository) { _guidGenerator = guidGenerator; _skuRepository = skuRepository; _categoryRepository = categoryRepository; _mallShopRepository = mallShopRepository; _mallShopLookupService = mallShopLookupService; }
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; }
public ProductOrderAppService( IPayApi payApi, IRepository <ProductOrder, Guid> repository, IMallShopLookupService mallShopLookupService, ISettingProvider setting, IHttpContextAccessor httpContext, IHttpContextAccessor httpContextAccessor, IAppProvider appProvider ) : base(repository) { _payApi = payApi; _mallShopLookupService = mallShopLookupService; _setting = setting; _httpContext = httpContext; _httpContextAccessor = httpContextAccessor; _appProvider = appProvider; base.GetListPolicyName = MallPermissions.ProductOrders.Default; base.GetPolicyName = MallPermissions.ProductOrders.Default; base.UpdatePolicyName = MallPermissions.ProductOrders.Update; base.DeletePolicyName = MallPermissions.ProductOrders.Delete; }
public MallModuleTests() { _ShopLookupService = GetRequiredService <IMallShopLookupService>(); _ShopRepository = GetRequiredService <IMallShopRepository>(); _shopAppService = GetRequiredService <IMallShopAppService>(); }