This commit is contained in:
as2252258@163.com
2021-04-24 20:44:38 +08:00
parent 263b09fd51
commit 2ffbea70c8
3 changed files with 12 additions and 6 deletions
+3 -1
View File
@@ -92,7 +92,9 @@ class OnPipeMessage extends Callback
{
[$topic, $rdMessage] = $message['body'];
call_user_func($message['handler'], new Struct($topic, $rdMessage));
$message['handler'][0]->setParams(new Struct($topic, $rdMessage));
call_user_func($message['handler']);
return 'success';
}