\App\ModelsPermission

Summary

Methods
Properties
Constants
createPermission()
updatePermission()
deletePermission()
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

createPermission()

createPermission(object  $request) : boolean

创建用户权限

Parameters

object $request

Returns

boolean

updatePermission()

updatePermission(integer  $id, object  $request) 

更新用户权限

Parameters

integer $id
object $request

deletePermission()

deletePermission(integer  $id) 

删除用户权限

Parameters

integer $id