From d0558ff1687a1bffd62c45660d4bab3132643039 Mon Sep 17 00:00:00 2001 From: lingling <kety1122@163.com> Date: 星期三, 16 四月 2025 17:44:07 +0800 Subject: [PATCH] fix bug --- LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs index 332f441..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,8 +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