This commit is contained in:
2021-08-13 15:19:07 +08:00
parent 3198d66753
commit 62145acb8c
11 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ use Kiri\Kiri;
$path = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
$router->addRoute($path, [$class, $method], 'sw::socket');
$router->addRoute($path, [di($class), $method], 'sw::socket');
return $router;
}