From 434fba55f7156b001e66f3d7c443b15699fc4f57 Mon Sep 17 00:00:00 2001 From: FAN-yeB <1442100690@qq.com> Date: Mon, 20 Oct 2025 18:21:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=8D=95=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=B8=8B=E5=8F=91=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/api/ota_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/api/ota_handler.py b/main/xiaozhi-server/core/api/ota_handler.py index d3d37348..b6c88dff 100644 --- a/main/xiaozhi-server/core/api/ota_handler.py +++ b/main/xiaozhi-server/core/api/ota_handler.py @@ -140,7 +140,7 @@ class OTAHandler(BaseHandler): self.logger.bind(tag=TAG).warning("缺少MQTT签名密钥,密码留空") # 构建MQTT配置(直接使用 mqtt_gateway 字符串) - return_json["mqtt_gateway"] = { + return_json["mqtt"] = { "endpoint": mqtt_gateway_endpoint, "client_id": mqtt_client_id, "username": username,