$permissionService $permissionService : \Core\Services\PermissionsService Type \Core\Services\PermissionsService
checkPermissions() checkPermissions( $userId, $permissionName) : boolean checkPermissions 检查权限 User:YM Date:2020/1/12 Time:上午10:58 Parameters $userId 用户id $permissionName 权限标识 Returns boolean
getUserAllPermissions() getUserAllPermissions( $userId) : array getUserAllPermissions 获取用户对应所有权限 User:YM Date:2020/1/12 Time:下午11:46 Parameters $userId Returns array
getPermissionsFromUri() getPermissionsFromUri(string $uri = '') : array getPermissionsFromUri 获取uri对应的权限标识 User:YM Date:2020/3/4 Time:下午11:21 Parameters string $uri Throws \Psr\SimpleCache\InvalidArgumentException Returns array