From 3b32b7055293df1ee7f0170f85820f08c8228b43 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 27 六月 2025 10:42:58 +0800
Subject: [PATCH] fix: 修改微信支付使用优惠券的bug

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

diff --git a/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs b/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
index b1b3e1f..c5c9272 100644
--- a/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
+++ b/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs
@@ -46,11 +46,13 @@
             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)
         {
             await context.AddBackgroundWorkerAsync<GetStaticsWorker>();
+            //await context.AddBackgroundWorkerAsync<CheckUnPayOrderWork>();s
         }
 
         private void ConfigurePays(ServiceConfigurationContext context, IConfiguration configuration)

--
Gitblit v1.9.1