更新权限管理模块

This commit is contained in:
2020-04-18 10:54:45 +08:00
parent 37a972592d
commit 8ab0ff15bb
2 changed files with 20 additions and 15 deletions

View File

@@ -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){}
}