From 5519531c06f83959692963a911f055b2d5583f33 Mon Sep 17 00:00:00 2001 From: zyimm Date: Sun, 9 Jul 2023 18:59:57 +0800 Subject: [PATCH] =?UTF-8?q?doc:=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7c8f38b..fec4dad 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,14 @@ composer require tm_xls/rocket-mq-client-thinkphp ### 配置 ```php + + return [ - 'host' => '', //mq地址 - 'callback' => '/rocketmq/producer/notify', //回调地址默认不做修改 - //订阅节点 - 'subscribe' => [ + 'host' => env('mq_host', 'http://192.168.21.170:8085'), //mq地址 + 'callback_host' => env('mq_callback_host', 'http://192.168.21.170:8085'),//回调host + 'callback' => '/rocketmq/producer/notify',//回调地址默认不做修改 + 'subscribe' => [ + ] ];