更新权限管理模块
This commit is contained in:
@@ -24,5 +24,9 @@ class AuthGroup extends Model{
|
||||
['name'=>'status', 'title'=>'状态', 'type'=>'select', 'help'=>'', 'option'=> [['key' => 0, 'label' => '禁用'],['key' => 1, 'label' => '启用']]],
|
||||
];
|
||||
|
||||
protected function getRulesAttr($value){
|
||||
return $value ? explode(",", $value) : [];
|
||||
}
|
||||
|
||||
public static function getAuthModels($uid){}
|
||||
}
|
||||
Reference in New Issue
Block a user