改名
This commit is contained in:
@@ -49,14 +49,8 @@ use Snowflake\Snowflake;
|
||||
*/
|
||||
public function execute(array $handler): mixed
|
||||
{
|
||||
// TODO: Change the autogenerated stub
|
||||
if ($handler[0] instanceof IProducer) {
|
||||
$handler[0]->initClient();
|
||||
}
|
||||
|
||||
$rpc = Snowflake::app()->getRpc();
|
||||
$rpc->addProducer($this->cmd, $handler, $this->config);
|
||||
|
||||
return parent::execute($handler);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user