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,