From 6ae97d768948e197a89492239441feca04c1dbb9 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 07 四月 2025 17:16:02 +0800 Subject: [PATCH] fix:bug修复 --- 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