From 820116a19ada23543137b0bb92058d87062cc9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 1 Nov 2021 18:12:28 +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 79659d0..8af3ecc 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" => "rpc.json.{$this->method}." . md5(__DIR__), + "id" => "rpc.json.{$this->method}." . md5(__DIR__) . '.' . md5($content), "name" => $this->method, "address" => $content, "port" => 9526,