mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正单元测试
This commit is contained in:
@@ -34,9 +34,10 @@ class Controller
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* @param \think\Request $request Request对象
|
||||
* @access public
|
||||
*/
|
||||
public function __construct(Request $request)
|
||||
public function __construct(Request $request = null)
|
||||
{
|
||||
$this->view = View::instance(Config::get('template'), Config::get('view_replace_str'));
|
||||
$this->request = $request;
|
||||
|
||||
Reference in New Issue
Block a user