From 62e8c7141008dbf18b485ea38f7c0a5b7f056641 Mon Sep 17 00:00:00 2001 From: cxh Date: Thu, 22 Jan 2026 17:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mqtt_client_wrapper.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mqtt_client_wrapper.cpp b/src/mqtt_client_wrapper.cpp index a1ba0aa..8441459 100644 --- a/src/mqtt_client_wrapper.cpp +++ b/src/mqtt_client_wrapper.cpp @@ -54,12 +54,6 @@ static void send_heartbeat() channels.push_back(item); } - nlohmann::json hb; - hb["timestamp"] = ms; - hb["status"] = (running_count == 0) ? 0 // 全部失败 - : (running_count == total ? 1 : 2); // 全部正常 or 部分异常 - hb["channels"] = channels; - // ===== 新增:读取 radio 信息(线程安全,返回拷贝)===== RadioInfo ri = get_radio_info();