From ec35e51418e1daaa129ba6bf72312cda19e4778a Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 21 三月 2025 17:27:16 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi

---
 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 fe09b50..9759f0f 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"];
@@ -149,7 +149,9 @@
                 cacheOptions.KeyPrefix = "LifePaymentServices_";
                 cacheOptions.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromMinutes(20);
             });
+            this.Configure<OssSettings>(configuration.GetSection("ossSettings"));
             this.Configure<ACOOLYOption>(configuration.GetSection("ACOOLY"));
+            this.Configure<Config>("AliPayEcsign", configuration.GetSection("AliPayEcsign"));
             this.Configure<InformationOption>(configuration.GetSection("WeiXinCgi"));
         }
 

--
Gitblit v1.9.1