From fd5705a460cd8ef559afd33860e148bb16b8616d Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期三, 26 三月 2025 15:18:35 +0800 Subject: [PATCH] fix;用户管理新增查询条件 --- LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs index fe09b50..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,9 @@ 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")); } -- Gitblit v1.9.1