From 5a09f64b974521e25ef07c0691361ba5d71e919b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 16 四月 2025 17:18:37 +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 73175b7..65763af 100644
--- a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
+++ b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
@@ -119,7 +119,7 @@
             });
             Configure<AbpAuditingOptions>(options =>
             {
-                options.IsEnabledForGetRequests = false;
+                options.IsEnabledForGetRequests = true;
                 options.ApplicationName = "LifePaymentService";
             });
             Configure<AbpUnitOfWorkOptions>(options =>
@@ -149,9 +149,11 @@
                 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"));
+            this.Configure<InitSetting>(configuration.GetSection("InitSetting"));
         }
 
         public override void OnApplicationInitialization(ApplicationInitializationContext context)

--
Gitblit v1.9.1