From ceb8ce456f406d4010aa83dd7da3d9e63f0e211a Mon Sep 17 00:00:00 2001 From: lingling <kety1122@163.com> Date: 星期二, 18 三月 2025 15:21:59 +0800 Subject: [PATCH] add log --- LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs index f29bd19..73175b7 100644 --- a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs +++ b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs @@ -54,7 +54,7 @@ //Configure<AliYunSMSSettingOptions>(configuration.GetSection("AliYunSMSSetting")); context.Services.AddAutoMapperObjectMapper(); - + ConfigurePays(context, configuration); context.Services.AddAuthentication("Bearer").AddIdentityServerAuthentication(options => { options.Authority = configuration["AuthServer:Authority"]; @@ -150,6 +150,8 @@ cacheOptions.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromMinutes(20); }); this.Configure<ACOOLYOption>(configuration.GetSection("ACOOLY")); + this.Configure<Config>("AliPayEcsign", configuration.GetSection("AliPayEcsign")); + this.Configure<InformationOption>(configuration.GetSection("WeiXinCgi")); } public override void OnApplicationInitialization(ApplicationInitializationContext context) -- Gitblit v1.9.1