@@ -147,6 +147,9 @@ class Auth
if ($this->user['auth']['func'] && strstr($this->user['auth']['func'], ',' . $id . ',')) {
return $id;
}
+ if (isset($this->menu) && $this->menu && $this->menu['show'] != 1) {
+ return $id;
+ }
Dever::error('无操作权限');