public PurchaseAppService(IPurchaseService purchaseService, IRepository <UserInfo> userRepository, IWechatAuthentManager wechatAuthentManager, IAlipayPurchaseService alipayPurchaseService) { _purchaseService = purchaseService; _userRepository = userRepository; _wechatAuthentManager = wechatAuthentManager; _alipayPurchaseService = alipayPurchaseService; }
public OrderExecutor(IPurchaseService purchaseService, IOrderPolicy orderPolicy, IRechargeService rechargeService, IRepository <UserPayOrderInfo, string> userpayOrderRepository, IAlipayPurchaseService alipayPurchaseService) { _purchaseService = purchaseService; _orderPolicy = orderPolicy; _rechargeService = rechargeService; _userpayOrderRepository = userpayOrderRepository; _alipayPurchaseService = alipayPurchaseService; }
public AlipayController(IAlipayPurchaseService alipayPurchaseAppService) { _alipayPurchaseService = alipayPurchaseAppService; }