$model_role
$model_role : \App\Models\Role
用户权限组
$model_role : \App\Models\Role
用户权限组
__construct(\App\Models\Role $role)
依赖注入
\App\Models\Role | $role |
store(\App\Http\Requests\RolePost $request) : \Illuminate\Http\Response
Store a newly created resource in storage.
\App\Http\Requests\RolePost | $request |
update(\App\Http\Requests\RolePost $request, integer $id) : \Illuminate\Http\Response
Update the specified resource in storage.
\App\Http\Requests\RolePost | $request | |
integer | $id |