This commit is contained in:
2025-12-31 01:07:48 +08:00
parent 91e0fe8940
commit 2f08fad1ef
+1
View File
@@ -33,6 +33,7 @@ class Get extends AbstractRequestMethod implements InjectMethodInterface
if (!empty($this->version)) { if (!empty($this->version)) {
$path = '/' . trim($this->version) . $path; $path = '/' . trim($this->version) . $path;
} }
var_dump(RequestMethod::REQUEST_GET, $path);
Router::addRoute(RequestMethod::REQUEST_GET, $path, [$class, $method]); Router::addRoute(RequestMethod::REQUEST_GET, $path, [$class, $method]);
} }