From 55f239f882d883f6f2a52dc9fbe690b11f65b30c Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期二, 18 三月 2025 14:19:22 +0800
Subject: [PATCH] 添加支付宝配置

---
 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 fe09b50..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,7 @@
                 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"));
         }
 

--
Gitblit v1.9.1