From f880ebc4e439ad3e979afc6833816a605fa7c3f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 18 Sep 2021 17:07:52 +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 --- note/Route/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/note/Route/Route.php b/note/Route/Route.php index 3899c197..5f54ce06 100644 --- a/note/Route/Route.php +++ b/note/Route/Route.php @@ -33,7 +33,7 @@ use Kiri\Kiri; public function execute(mixed $class, mixed $method = null): bool { $di = Kiri::getDi()->get(Router::class); - $di->addRoute($method, $this->uri, $class . '@' . $method); + $di->addRoute($this->method, $this->uri, $class . '@' . $method); return parent::execute($class, $method); }