\App\Http\Controllers\AdminPermissionController

Summary

Methods
Properties
Constants
home()
permission()
permissions()
permissionsTree()
drop()
create()
update()
delete()
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

home()

home() : \Illuminate\Contracts\View\View

homePage

Returns

\Illuminate\Contracts\View\View

permission()

permission(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

获取权限详情

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response

permissions()

permissions(\App\Http\Requests\Admin\Permission\GetListRequest  $request) : \Symfony\Component\HttpFoundation\Response

获取权限列表

Parameters

\App\Http\Requests\Admin\Permission\GetListRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

permissionsTree()

permissionsTree(\App\Http\Requests\Admin\Permission\PermissionTreeRequest  $request) : \Symfony\Component\HttpFoundation\Response

获取权限列表 Tree 结构

Parameters

\App\Http\Requests\Admin\Permission\PermissionTreeRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

drop()

drop(\App\Http\Requests\Admin\Permission\DropRequest  $request) : \Symfony\Component\HttpFoundation\Response

更改排序与层级

Parameters

\App\Http\Requests\Admin\Permission\DropRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

create()

create(\App\Http\Requests\Admin\Permission\CreateRequest  $request) : \Symfony\Component\HttpFoundation\Response

创建权限

Parameters

\App\Http\Requests\Admin\Permission\CreateRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

update()

update(\App\Http\Requests\Admin\Permission\UpdateRequest  $request) : \Symfony\Component\HttpFoundation\Response

更新权限

Parameters

\App\Http\Requests\Admin\Permission\UpdateRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

delete()

delete(\Illuminate\Http\Request  $request) : \Symfony\Component\HttpFoundation\Response

删除权限

Parameters

\Illuminate\Http\Request $request

Throws

\Exception

Returns

\Symfony\Component\HttpFoundation\Response