改名
This commit is contained in:
@@ -113,7 +113,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
|||||||
*/
|
*/
|
||||||
public function register(OnServerBeforeStart $server)
|
public function register(OnServerBeforeStart $server)
|
||||||
{
|
{
|
||||||
$this->manager->tableInit();
|
|
||||||
$this->manager->register();
|
$this->manager->register();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,17 +19,6 @@ class RpcManager
|
|||||||
private array $_rpc = [];
|
private array $_rpc = [];
|
||||||
|
|
||||||
|
|
||||||
private Table $table;
|
|
||||||
|
|
||||||
|
|
||||||
public function tableInit()
|
|
||||||
{
|
|
||||||
$this->table = new Table((int)Config::get('rpc.total', 10));
|
|
||||||
$this->table->column('name', Table::TYPE_STRING);
|
|
||||||
$this->table->create();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $serviceName
|
* @param $serviceName
|
||||||
* @return void
|
* @return void
|
||||||
|
|||||||
Reference in New Issue
Block a user