This commit is contained in:
2021-10-29 11:10:33 +08:00
parent 2d658899a0
commit ca748aa320
+1 -1
View File
@@ -69,7 +69,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
{
$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([
"ID" => $config['name'] ?? 'test-name',
"Name" => "redis",