From ba6f92a0f56cbb0cc80f93a2eb2453aa6a5a30bc Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期四, 27 三月 2025 13:55:04 +0800
Subject: [PATCH] fix:读取配置

---
 LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs b/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
index b1b3e1f..efeef28 100644
--- a/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
+++ b/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
@@ -46,6 +46,7 @@
             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 async override Task OnApplicationInitializationAsync(ApplicationInitializationContext context)

--
Gitblit v1.9.1