From 6b5c0022a6fdf5c3026650d231530ff6b32a72b4 Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期五, 14 三月 2025 16:20:51 +0800
Subject: [PATCH] 添加配置

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

diff --git a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
index ede9205..adfdb5a 100644
--- a/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
+++ b/LifePayment/LifePayment.Host/LifePaymentServiceHostModule.cs
@@ -149,7 +149,7 @@
                 cacheOptions.KeyPrefix = "LifePaymentServices_";
                 cacheOptions.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromMinutes(20);
             });
-
+            this.Configure<ACOOLYOption>(configuration.GetSection("ACOOLY"));
         }
 
         public override void OnApplicationInitialization(ApplicationInitializationContext context)

--
Gitblit v1.9.1