Browse Source

pc权限测试

lizhen_gitee 5 months ago
parent
commit
d28af7ff5f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      application/company/controller/auth/Group.php

+ 1 - 2
application/company/controller/auth/Group.php

@@ -27,7 +27,7 @@ class Group extends Apic
     protected $grouplist = [];
     protected $groupdata = [];
     //无需要权限判断的方法
-    protected $noNeedRight = ['info','simple_list'];
+    protected $noNeedRight = ['info','simple_list','list_role_menus'];
 
 
     public function _initialize()
@@ -257,7 +257,6 @@ class Group extends Apic
         $this->error();
     }
 
-    /////////////////////////////以下没用到///////////////////////////////
 
     /**
      * 批量更新