TaoLer/app/index/controller/Error.php

13 lines
198 B
PHP
Raw Normal View History

2020-01-01 13:17:19 +08:00
<?php
namespace app\index\controller;
2020-01-12 15:03:13 +08:00
use think\facade\View;
2020-01-01 13:17:19 +08:00
class Error
{
public function __call($method, $args)
{
2020-01-12 15:03:13 +08:00
//return 'error request!';
return View::fetch('404');
2020-01-01 13:17:19 +08:00
}
}