diff --git a/Admin.NET/Admin.NET.Core/Enum/TenantEventTypeEnum.cs b/Admin.NET/Admin.NET.Core/Enum/TenantEventTypeEnum.cs index c42702d1..14ebcf1c 100644 --- a/Admin.NET/Admin.NET.Core/Enum/TenantEventTypeEnum.cs +++ b/Admin.NET/Admin.NET.Core/Enum/TenantEventTypeEnum.cs @@ -28,5 +28,5 @@ public enum TenantEventTypeEnum /// 删除租户 /// [Description("删除租户")] - Delete = 2, + Delete = 2, } \ No newline at end of file diff --git a/Admin.NET/Admin.NET.Core/Job/MqttHostedService.cs b/Admin.NET/Admin.NET.Core/Job/MqttHostedService.cs index 250952ed..62870cc9 100644 --- a/Admin.NET/Admin.NET.Core/Job/MqttHostedService.cs +++ b/Admin.NET/Admin.NET.Core/Job/MqttHostedService.cs @@ -46,7 +46,7 @@ public class MqttHostedService(IOptions mqttOptions) : IHostedServi var options = new MqttServerOptionsBuilder() .WithDefaultEndpoint() // 默认地址127.0.0.1 .WithDefaultEndpointPort(_mqttOptions.Port) // 端口号 - //.WithDefaultEndpointBoundIPAddress(_mqttOptions.IPAddress) // IP地址 + //.WithDefaultEndpointBoundIPAddress(_mqttOptions.IPAddress) // IP地址 .WithConnectionBacklog(_mqttOptions.ConnectionBacklog) // 最大连接数 .WithPersistentSessions() .Build();