diff --git a/OpenAuth.WebApi/Model/mqtt/MqttHostedService.cs b/OpenAuth.WebApi/Model/mqtt/MqttHostedService.cs index e0c2955..24d3524 100644 --- a/OpenAuth.WebApi/Model/mqtt/MqttHostedService.cs +++ b/OpenAuth.WebApi/Model/mqtt/MqttHostedService.cs @@ -1,6 +1,8 @@ using Infrastructure.CloudSdk.mqttmessagecenter; +using NPOI.SS.Formula.Functions; using NuGet.Packaging; using OpenAuth.App.ServiceApp; +using System.Security.Cryptography; namespace OpenAuth.WebApi.Model.mqtt { @@ -47,6 +49,10 @@ namespace OpenAuth.WebApi.Model.mqtt $"sys/product/{gateway}/status" }); } + topics.AddRange(new[] + { + $"thing/product/1581F8HGX254V00A0BUY/osd" + }); await _mqttCenter.ConnectAndSubscribeAsync(topics.ToArray()); }