\App\ModelsRole

Summary

Methods
Properties
Constants
createRole()
updateRole()
deleteRole()
getRoleList()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

createRole()

createRole(object  $request) 

创建用户组

Parameters

object $request

updateRole()

updateRole(integer  $id, object  $request) 

更新用户组

Parameters

integer $id
object $request

deleteRole()

deleteRole(integer  $id) 

删除用户组

Parameters

integer $id

getRoleList()

getRoleList(integer  $page, array  $condition = array()) 

查询角色列表并分页

Parameters

integer $page

每页显示数据数量

array $condition

查询条件