完善使用说明

This commit is contained in:
zyimm 2023-07-13 15:58:30 +08:00
parent dc2fccbc55
commit bb97aa14fb
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ return [
'callback_host' => env('mq_callback_host', 'http://192.168.21.170:8085'), 'callback_host' => env('mq_callback_host', 'http://192.168.21.170:8085'),
'callback' => '/rocketmq/producer/notify', 'callback' => '/rocketmq/producer/notify',
'subscribe' => [ 'subscribe' => [
//节点配置 由mq的topic.tag为标识
// '[topic].[tag]' => [
// Test:class
// ]
] ]
]; ];

View File

@ -38,7 +38,7 @@ class Config
/** /**
* @return int * @return int
*/ */
public function getTimeOut() public function getTimeOut(): int
{ {
return $this->timeOut ?? 60; return $this->timeOut ?? 60;
} }