From 469279cdbbfcebb15d9b1c2c9c2b7bc6210041ba Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 09 六月 2025 17:10:02 +0800 Subject: [PATCH] feat:每隔10分钟定时查询15分钟内的未支付订单向微信API获取最新信息若为支付成功则更改订单状态 --- 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 efeef28..94062ab 100644 --- a/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs +++ b/LifePayment/LifePayment.Worker/LifePaymentServicesWorkModule.cs @@ -52,6 +52,7 @@ public async override Task OnApplicationInitializationAsync(ApplicationInitializationContext context) { await context.AddBackgroundWorkerAsync<GetStaticsWorker>(); + await context.AddBackgroundWorkerAsync<CheckUnPayOrderWork>(); } private void ConfigurePays(ServiceConfigurationContext context, IConfiguration configuration) -- Gitblit v1.9.1