From 8b31111b5629fbd48658f8236b64ddbfe7f736d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 23 Mar 2021 16:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rpc/Client.php | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/Rpc/Client.php b/Rpc/Client.php index e57b27f8..2334a53e 100644 --- a/Rpc/Client.php +++ b/Rpc/Client.php @@ -18,33 +18,15 @@ use Swoole\Coroutine\Client as CClient; class Client extends Component { - private array $config = []; + public array $config = []; - private string $service = ''; + public string $service = ''; private CClient $client; - /** - * @param $name - */ - public function setConfig($name) - { - $this->config = $name; - } - - - /** - * @param $value - */ - public function setService($value) - { - $this->service = $value; - } - - /** * @param string $cmd * @param array $param