From 866499b304ea46f3307d6845606eb3244a97bf7a Mon Sep 17 00:00:00 2001 From: cxh Date: Wed, 21 Jan 2026 14:13:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c1cbae4..b8809f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -67,7 +67,7 @@ int main() { // 从配置里拿 VID(确保 AppConfig 有 vehicle_id 字段) - const std::string vid = g_app_config.vehicle_id; + const std::string vid = g_app_config.mqtt.vehicle_id; const int local_http_port = 2980; // 建议也从 config 里读;这里先保留你的固定值