/// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="client"></param>
 /// <param name="optionsAccessor"></param>
 /// <param name="billPaymentsServices"></param>
 /// <param name="billRefundServices"></param>
 public WeChatPayController(
     IWeChatPayNotifyClient client
     , IOptions <WeChatPayOptions> optionsAccessor)
 {
     _client          = client;
     _optionsAccessor = optionsAccessor;
 }
示例#2
0
 public MpPayApiController(
     IWeChatPayNotifyClient client,
     IMQService mqService)
 {
     _client    = client;
     _mqService = mqService;
 }
示例#3
0
 public MpPayApiController(
     IWeChatPayNotifyClient client,
     IMQService mqService,
     ILogger <MpPayApiController> logger)
 {
     _client    = client;
     _mqService = mqService;
     _logger    = logger;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="client"></param>
 /// <param name="mediator"></param>
 /// <param name="wechatOptions"></param>
 public PaymentNotifyController(ILogger <PaymentNotifyController> logger,
                                IWeChatPayNotifyClient client,
                                IMediator mediator,
                                IOptions <WeChatPayOptions> wechatOptions)
 {
     _logger        = logger;
     _client        = client;
     _mediator      = mediator;
     _wechatOptions = wechatOptions.Value;
 }
示例#5
0
 public MpPayApiController(
     IWeChatPayNotifyClient client,
     IMQService mqService,
     ILogger <MpPayApiController> logger,
     IOptionsMonitor <MiniProgramOptions> options)
 {
     _client    = client;
     _mqService = mqService;
     _logger    = logger;
     _options   = options.CurrentValue;
 }
示例#6
0
 public MpPayApiController(
     IWeChatPayNotifyClient client,
     IMQService mqService,
     ILogger <MpPayApiController> logger,
     IAppSettingService appSettingService)
 {
     _client            = client;
     _mqService         = mqService;
     _logger            = logger;
     _appSettingService = appSettingService;
 }
示例#7
0
 public WepayService(ILogger <WepayService> logger,
                     IWeChatPayClient client,
                     IWeChatPayNotifyClient notifyClient,
                     IOptions <WeChatPayOptions> options,
                     IOrderService orderService)
 {
     this.logger       = logger;
     this.client       = client;
     this.notifyClient = notifyClient;
     this.options      = options;
     this.OrderService = orderService;
 }
 public WeChatPayNotifyController(ILogger <WeChatPayNotifyController> logger, IWeChatPayNotifyClient client, IOptions <WeChatPayOptions> optionsAccessor)
 {
     _logger          = logger;
     _client          = client;
     _optionsAccessor = optionsAccessor;
 }
 public WeChatPayNotifyController(IWeChatPayNotifyClient client)
 {
     _client = client;
 }