From 8bc8f627fb1663bbae249b1d59ced0fc7787c307 Mon Sep 17 00:00:00 2001 From: zhangbin <460190368@qq.com> Date: Fri, 4 Jul 2025 09:48:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E9=98=85=E9=A3=9E=E8=A1=8C=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.WebApi/Model/mqtt/MqttHostedService.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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()); }