diff --git a/config/process.php b/config/process.php index 6d62810..c8a83f2 100644 --- a/config/process.php +++ b/config/process.php @@ -44,17 +44,17 @@ return [ /** * 发送 */ - // 'mqtt_push' => [ - // 'handler' => app\mqtt\Publish::class, - // 'listen' => 'websocket://0.0.0.0:8955', - // 'count' => 1, - // ], - // /** - // * 订阅 - // */ - // 'mqtt_sub' => [ - // 'handler' => app\mqtt\Subscribe::class, - // 'listen' => 'websocket://0.0.0.0:8956', - // 'count' => 1, - // ], + 'mqtt_push' => [ + 'handler' => app\mqtt\Publish::class, + 'listen' => 'websocket://0.0.0.0:8955', + 'count' => 1, + ], + /** + * 订阅 + */ + 'mqtt_sub' => [ + 'handler' => app\mqtt\Subscribe::class, + 'listen' => 'websocket://0.0.0.0:8956', + 'count' => 1, + ], ];