\App\Http\Controllers\AdminAdminController

Summary

Methods
Properties
Constants
home()
admins()
admin()
create()
update()
delete()
updateSelf()
syncPermissions()
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

admins()

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

管理员列表

Parameters

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

Returns

\Symfony\Component\HttpFoundation\Response

admin()

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

管理员详情

Parameters

\Illuminate\Http\Request $request

Returns

\Symfony\Component\HttpFoundation\Response

create()

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

创建管理员

Parameters

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

Returns

\Symfony\Component\HttpFoundation\Response

update()

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

更新管理员

Parameters

\App\Http\Requests\Admin\Admin\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

updateSelf()

updateSelf(\App\Http\Requests\Admin\Admin\UpdateSelfRequest  $request) : \Symfony\Component\HttpFoundation\Response

自身更新

Parameters

\App\Http\Requests\Admin\Admin\UpdateSelfRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

syncPermissions()

syncPermissions(\App\Http\Requests\Admin\Admin\SyncPermissionsRequest  $request) : \Symfony\Component\HttpFoundation\Response

授权权限

Parameters

\App\Http\Requests\Admin\Admin\SyncPermissionsRequest $request

Returns

\Symfony\Component\HttpFoundation\Response