From 95d5b5815069a4c4b3c04a085765c0147a22fbc8 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期一, 24 三月 2025 18:03:17 +0800
Subject: [PATCH] fix: bug修复

---
 LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
index f29bd19..ce20062 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"];
@@ -119,7 +119,7 @@
             });
             Configure<AbpAuditingOptions>(options =>
             {
-                options.IsEnabledForGetRequests = false;
+                options.IsEnabledForGetRequests = true;
                 options.ApplicationName = "LifePaymentService";
             });
             Configure<AbpUnitOfWorkOptions>(options =>
@@ -149,7 +149,10 @@
                 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"));
         }
 
         public override void OnApplicationInitialization(ApplicationInitializationContext context)

--
Gitblit v1.9.1