This commit is contained in:
2021-06-08 11:41:01 +08:00
parent 52823100af
commit 4e5787b20d
+3
View File
@@ -354,6 +354,9 @@ class Node extends HttpService
public function annotationInject(string $className, string $action): Node public function annotationInject(string $className, string $action): Node
{ {
$annotation = annotation()->getMethods($className, $action); $annotation = annotation()->getMethods($className, $action);
if ($action == 'xiaqi') {
var_export($annotation);
}
if (empty($annotation)) { if (empty($annotation)) {
return $this; return $this;
} }