Files

26 lines
315 B
PHP
Raw Permalink Normal View History

2022-09-23 18:55:46 +08:00
<?php
use Kiri\Rpc\AbstractRpcClient;
class TestRpc extends AbstractRpcClient
{
public string $service = '';
/**
* @param $data
* @param $nba
* @return mixed
*/
public function test($data, $nba): mixed
{
$resp = $this->send(__FUNCTION__, $data, $nba);
return json_decode($resp, true);
}
}