This commit is contained in:
xiaolipro 2026-07-20 20:48:15 +08:00
parent a4d6400318
commit d49efcb341
3 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<!-- All Fake packages --> <!-- All Fake packages -->
<FakePackageVersion>8.0.5.12</FakePackageVersion> <FakePackageVersion>8.0.5.14</FakePackageVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -37,10 +37,7 @@ public class OmsApplicationModule : FakeModule
{ {
options.ScanProfiles<OmsApplicationModule>(); options.ScanProfiles<OmsApplicationModule>();
}); });
// Exchange 默认 Fake.Exchange.EventBus;QueueName / Retry 等用专用节覆盖
context.Services.Configure<RabbitMqEventBusOptions>(configuration.GetSection("RabbitMQ:EventBus"));
var redisOptions = configuration.GetSection("Redis").Get<ConnectionStringBuilder>(); var redisOptions = configuration.GetSection("Redis").Get<ConnectionStringBuilder>();
if (redisOptions == null || string.IsNullOrWhiteSpace(redisOptions.Host)) if (redisOptions == null || string.IsNullOrWhiteSpace(redisOptions.Host))
{ {

View File

@ -92,7 +92,7 @@ public class SimpleAdminApiModule : FakeModule
options.KnownProxies.Clear(); options.KnownProxies.Clear();
}); });
services.AddFeiShuNotification(); services.AddFeiShuExceptionSubscriber();
} }
public override void ConfigureApplication(ApplicationConfigureContext context) public override void ConfigureApplication(ApplicationConfigureContext context)