改名
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
|||||||
{
|
{
|
||||||
$config = Config::get('rpc');
|
$config = Config::get('rpc');
|
||||||
|
|
||||||
$agent = Kiri::getDi()->get(Agent::class);
|
$agent = Kiri::getDi()->get(Agent::class, [], ['host' => '127.0.0.1', 'port' => 9500]);
|
||||||
$data = $agent->service->register([
|
$data = $agent->service->register([
|
||||||
"ID" => $config['name'] ?? 'test-name',
|
"ID" => $config['name'] ?? 'test-name',
|
||||||
"Name" => "redis",
|
"Name" => "redis",
|
||||||
|
|||||||
Reference in New Issue
Block a user