Afdian as payment handler

This commit is contained in:
2025-06-23 00:29:37 +08:00
parent a23338c263
commit be0b48cfd9
8 changed files with 586 additions and 9 deletions

View File

@ -25,6 +25,7 @@ using StackExchange.Redis;
using System.Text.Json;
using System.Threading.RateLimiting;
using DysonNetwork.Sphere.Connection.WebReader;
using DysonNetwork.Sphere.Wallet.PaymentHandlers;
using tusdotnet.Stores;
namespace DysonNetwork.Sphere.Startup;
@ -222,6 +223,7 @@ public static class ServiceCollectionExtensions
services.AddScoped<PaymentService>();
services.AddScoped<IRealtimeService, LivekitRealtimeService>();
services.AddScoped<WebReaderService>();
services.AddScoped<AfdianPaymentHandler>();
return services;
}