改名
This commit is contained in:
@@ -73,13 +73,12 @@ class ' . $managerName . 'Consumer extends \Rpc\Consumer
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Users $users
|
|
||||||
* @param string $event
|
* @param string $event
|
||||||
* @param array $params
|
* @param array $params
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
#[Consumer(\'default\')]
|
#[Consumer(\'default\')]
|
||||||
public function push(Users $users, string $event, array $params)
|
public function push(string $event, array $params)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,13 +56,11 @@ class ' . $managerName . 'Producer extends Controller
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Users $users
|
|
||||||
* @param string $event
|
|
||||||
* @param array $params
|
* @param array $params
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
#[RpcProducer(cmd: \'default\', port: ' . $port . ')]
|
#[RpcProducer(cmd: \'default\', port: ' . $port . ')]
|
||||||
public function actionIndex()
|
public function actionIndex(array $params)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user