$adminInfo
$adminInfo :
当前登陆管理员信息
限时秒杀 控制器 Class StoreSeckill
$view : \think\View
$request : \think\Request
change_field(\think\Request $request, $id, $field)
| \think\Request | $request | |
| $id | ||
| $field |
__construct(\think\Request $request = null)
构造方法
| \think\Request | $request | Request对象 |
index() : \think\Response
显示资源列表
save(\think\Request $request, $id)
| \think\Request | $request | |
| $id |
upload() : \think\response\Json
上传图片
edit(integer $id) : \think\Response
显示编辑资源表单页.
| integer | $id |
delete(integer $id) : \think\Response
删除指定资源
| integer | $id |
getActiveAdminInfo() : \app\admin\model\system\SystemAdmin
获得当前用户最新信息
validate(array $data, string|array $validate, array $message = array(), boolean $batch = false, mixed $callback = null) : array|string|true
验证数据
| array | $data | 数据 |
| string|array | $validate | 验证器名或者验证规则数组 |
| array | $message | 提示信息 |
| boolean | $batch | 是否批量验证 |
| mixed | $callback | 回调方法(闭包) |