mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
在控制器中调用request和view增加类型提示
在控制器中调用request和view属性增加类型提示
This commit is contained in:
@@ -20,9 +20,13 @@ class Controller
|
||||
{
|
||||
use \traits\controller\Jump;
|
||||
|
||||
// 视图类实例
|
||||
/**
|
||||
* @var \think\View 视图类实例
|
||||
*/
|
||||
protected $view;
|
||||
// Request实例
|
||||
/**
|
||||
* @var \think\Request Request实例
|
||||
*/
|
||||
protected $request;
|
||||
// 验证失败是否抛出异常
|
||||
protected $failException = false;
|
||||
|
||||
Reference in New Issue
Block a user