Mike 5 years ago
parent
commit
a50fc1f697
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Services/Admin/Acl.php

+ 2 - 2
app/Services/Admin/Acl.php

xqd
@@ -34,8 +34,8 @@ class Acl extends BaseProcess {
     
     
     public function getRoleFunc($roleIds) {
-        $this->objModel = new AdminAccessModel();
-        $data =$this->objModel->getRoleAccessMenu($roleIds);
+        $objModel = new AdminAccessModel();
+        $data =$objModel->getRoleAccessMenu($roleIds);
         if(!$data) {
               return array('menus'=>array(),'func'=>array());
         }