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
|
|
|
}
|
|
|
|
}
|