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' => [ + ] ];