lgy 1 month ago
parent
commit
698377e8a9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      jcjyhr/extend/ba/Auth.php

+ 3 - 0
jcjyhr/extend/ba/Auth.php

@@ -73,11 +73,14 @@ class Auth
      */
     private function getChildren(array $rules): array
     {
+        var_dump($this->children);
         foreach ($rules as $key => $rule) {
+            var_dump($rule['ID']);
             if (array_key_exists($rule['ID'], $this->children)) {
                 $rules[$key]['children'] = $this->getChildren($this->children[$rule['ID']]);
             }
         }
+        die;
         return $rules;
     }