wugg 2 years ago
parent
commit
2c54a97973
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/controller/Base.php

+ 3 - 0
app/admin/controller/Base.php

@@ -84,6 +84,9 @@ class Base extends \app\BaseController
                 }
             }
         }
+        if($uid['roleid']==1){
+            $action['write']=[];
+        }
         $action['action_conllect']=implode(",",array_unique(explode(",",$action['action_conllect'])));
         return $action;
     }