Shared project ring helper service

This commit is contained in:
2026-01-24 10:56:29 +08:00
parent c58cbf8de9
commit b851b9f6e2
3 changed files with 183 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ public static class ServiceInjectionHelper
services.AddGrpcClientWithSharedChannel<RingService.RingServiceClient>(
"https://_grpc.ring",
"RingService");
services.AddSingleton<RemoteRingService>();
return services;
}