lgy 8 hours ago
parent
commit
3b04c8b80e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jcjyhr/extend/ba/Auth.php

+ 1 - 1
jcjyhr/extend/ba/Auth.php

@@ -155,7 +155,7 @@ class Auth
             $rules[] = "*";
         }
         foreach ($originAuthRules as $rule) {
-            $rules[$rule['id']] = strtolower($rule['name']);
+            $rules[$rule['ID']] = strtolower($rule['NAME']);
         }
         return array_unique($rules);
     }