This commit is contained in:
2021-02-22 18:17:43 +08:00
parent 7deb1e9b03
commit b1c06b8483
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -470,7 +470,7 @@ class Server extends HttpService
$handler = $alias['handler'];
foreach ($alias['attributes'] as $key => $attribute) {
if ($attribute instanceof IAnnotation) {
$attribute->setHandler($handler);
$attribute->execute($handler);
}
}
}
@@ -496,7 +496,7 @@ class Server extends HttpService
$handler = $alias['handler'];
foreach ($alias['attributes'] as $key => $attribute) {
if ($attribute instanceof IAnnotation) {
$attribute->setHandler($handler);
$attribute->execute($handler);
}
}
}