From 13ae20fbb63d860a681129e1ebf3476c107583b7 Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Wed, 20 Dec 2023 19:20:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mqtt/Publish.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/mqtt/Publish.php b/app/mqtt/Publish.php index 9dbe824..1970a94 100644 --- a/app/mqtt/Publish.php +++ b/app/mqtt/Publish.php @@ -13,9 +13,9 @@ class Publish public function onConnect(TcpConnection $connection) { - $mqtt = new \Workerman\Mqtt\Client('mqtt://ceshi-mqtt.lihaink.cn:1883', array( - "username" => "demo2", - "password" => "123456", + $mqtt = new \Workerman\Mqtt\Client('mqtt://mqtt.lihaink.cn:1883', array( + "username" => "lihai_lot_land_1", + "password" => "lihai_lot_land_1", "client_id" => "admin_123", )); $mqtt->connect();