From fd52e9c8439380825aef11ac5f2cdf4f63f9d013 Mon Sep 17 00:00:00 2001 From: wangkaiyi Date: Wed, 11 Sep 2024 16:50:49 +0800 Subject: [PATCH] fix ota --- MasstransferCommon/Model/Constant/ProcessTopics.cs | 2 +- MasstransferExporter/OTA/Service/OTAService.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MasstransferCommon/Model/Constant/ProcessTopics.cs b/MasstransferCommon/Model/Constant/ProcessTopics.cs index 5769b9f..4532cf7 100644 --- a/MasstransferCommon/Model/Constant/ProcessTopics.cs +++ b/MasstransferCommon/Model/Constant/ProcessTopics.cs @@ -20,7 +20,7 @@ public class ProcessTopics /// /// OTA请求事件 /// - public const string OTAQueryEvent = "OTAUpdataQueryEvent"; + public const string OTAQueryEvent = "OTAQueryEvent"; /// /// OTA请求反馈事件 diff --git a/MasstransferExporter/OTA/Service/OTAService.cs b/MasstransferExporter/OTA/Service/OTAService.cs index 030ee7d..31ddee5 100644 --- a/MasstransferExporter/OTA/Service/OTAService.cs +++ b/MasstransferExporter/OTA/Service/OTAService.cs @@ -54,7 +54,8 @@ public class OTAService : Instant /// Masstransfer 请求OTA事件响应,向云端发送请求信息 /// /// - public static async Task HandleOTAQueryEvent(string topic) + /// + public static async Task HandleOTAQueryEvent(string topic, string mess) { await MessageQueueHelper.Publish(Topics.QueryOTA, new object()); }