From 5352dfc3db2200df3dc5348e913e108f678adf5e Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期二, 18 三月 2025 14:10:47 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi --- LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs index f29bd19..332f441 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,7 @@ cacheOptions.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromMinutes(20); }); this.Configure<ACOOLYOption>(configuration.GetSection("ACOOLY")); + this.Configure<InformationOption>(configuration.GetSection("WeiXinCgi")); } public override void OnApplicationInitialization(ApplicationInitializationContext context) -- Gitblit v1.9.1