♻️ Move the lotteries logic to the wallet service

This commit is contained in:
2026-02-05 16:13:57 +08:00
parent 3c0f5b0e41
commit 3c6ccba74f
8 changed files with 14 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ using DysonNetwork.Shared.Registry;
using DysonNetwork.Wallet.Localization;
using DysonNetwork.Wallet.Payment;
using DysonNetwork.Wallet.Payment.PaymentHandlers;
using DysonNetwork.Wallet.Lotteries;
namespace DysonNetwork.Wallet.Startup;
@@ -101,6 +102,7 @@ public static class ServiceCollectionExtensions
services.AddScoped<PaymentService>();
services.AddScoped<SubscriptionService>();
services.AddScoped<AfdianPaymentHandler>();
services.AddScoped<LotteryService>();
services.AddHostedService<BroadcastEventHandler>();