mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 09:42:47 +08:00
实现手动设计的权限管理
This commit is contained in:
@@ -22,14 +22,5 @@ class AdminPermission extends Model
|
||||
return $status[intval($value)];
|
||||
}
|
||||
|
||||
public function getNameAttr($value)
|
||||
{
|
||||
if(empty($value)){
|
||||
$value = $this->getData('app').'/'.$this->getData('controller').'/'.$this->getData('action');
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user