From e9e7afb106ff7810d730ea1fd362837aa51d27d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 1 Nov 2021 18:09:11 +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 --- src/Annotation/JsonRpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Annotation/JsonRpc.php b/src/Annotation/JsonRpc.php index 56e13cc..79659d0 100644 --- a/src/Annotation/JsonRpc.php +++ b/src/Annotation/JsonRpc.php @@ -56,7 +56,7 @@ use ReflectionException; { $content = current(swoole_get_local_ip()); return [ - "id" => uniqid("rpc.json.{$this->method}."), + "id" => "rpc.json.{$this->method}." . md5(__DIR__), "name" => $this->method, "address" => $content, "port" => 9526,