Beispiel #1
0
 public Refunds(PayProxyFactory proxyFactory)
 {
     this.db           = ZRui.Web.BLL.DbContextFactory.FinanceDbContext;
     this.shopDb       = ZRui.Web.BLL.DbContextFactory.ShopDb;
     this.proxyFactory = proxyFactory;
     this.hchhLog      = ZRui.Web.BLL.DbContextFactory.LogDbContext;
 }
Beispiel #2
0
 public SwiftpassPayForConglomerationWechatOpenAPIController(IOptions <MemberAPIOptions> memberOptions
                                                             , FinanceDbContext db
                                                             , IOptions <WechatTemplateSendOptions> options
                                                             , ShopDbContext shopDb
                                                             , PayProxyFactory proxyFactory
                                                             , WechatCoreDbContext wechatCoreDb
                                                             , MemberDbContext memberDb
                                                             , ILoggerFactory loggerFactory
                                                             , IHostingEnvironment hostingEnvironment) : base(memberOptions, memberDb, wechatCoreDb)
 {
     this.hostingEnvironment = hostingEnvironment;
     this.db           = db;
     this.options      = options.Value;
     this.shopDb       = shopDb;
     this.wechatCoreDb = wechatCoreDb;
     this.memberDb     = memberDb;
     this._logger      = loggerFactory.CreateLogger <SwiftpassPayForShopWechatOpenAPIController>();
     this.proxyFactory = proxyFactory;
     this.LogDbContext = DbContextFactory.LogDbContext;
 }
Beispiel #3
0
 public SwiftpassPayForShopWechatOpenAPIController(IOptions <MemberAPIOptions> memberOptions
                                                   //, FinanceDbContext db
                                                   , IOptions <ThirdConfig> poptions
                                                   , IOptions <WechatTemplateSendOptions> options
                                                   , ShopDbContext shopDb
                                                   , Core.Printer.Data.PrintDbContext printDbContext
                                                   , PayProxyFactory proxyFactory
                                                   , WechatCoreDbContext wechatCoreDb
                                                   , MemberDbContext memberDb
                                                   , ILoggerFactory loggerFactory
                                                   , IHostingEnvironment hostingEnvironment) : base(memberOptions, memberDb, wechatCoreDb)
 {
     this.hostingEnvironment = hostingEnvironment;
     this.finaceDb           = DbContextFactory.FinanceDbContext;
     this.options            = options.Value;
     this.shopDb             = shopDb;
     this.wechatCoreDb       = wechatCoreDb;
     this.memberDb           = memberDb;
     this.LogDbContext       = DbContextFactory.LogDbContext;
     this.printDbContext     = printDbContext;
     this.thirdConfig        = poptions.Value;
     this._logger            = loggerFactory.CreateLogger <SwiftpassPayForShopWechatOpenAPIController>();
     this.proxyFactory       = proxyFactory;
 }
Beispiel #4
0
 public AuthController(AuthDbContext db, HchhLogDbContext logger, ShopDbContext shopDb)
 {
     this.db     = db;
     this.logger = logger;
     this.shopDb = shopDb;
 }
Beispiel #5
0
 public PayOrRefundUtil(HchhLogDbContext hchh)
 {
     this.hchh = hchh;
 }
Beispiel #6
0
 public RefundLog(HchhLogDbContext hchh)
 {
     this.hchh = hchh;
 }