From 024307f8f031d81805907d54c3419d6e8289a327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 00:43:51 +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 --- Annotation/Route/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index 257bb12c..8491cd3a 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -43,7 +43,7 @@ use Snowflake\Snowflake; // TODO: Implement setHandler() method. $router = Snowflake::app()->getRouter(); - $router->addRoute($this->uri . $this->version, $handler, $this->method); + $router->addRoute($this->uri, $handler, $this->method); return $router; }