Files
mayi-grade/application/index/controller/Error.php
T

22 lines
312 B
PHP

<?php
namespace app\index\controller;
// 引用控制器类
use think\Controller;
class Error extends Controller
{
/**
* 显示资源列表
*
* @return \think\Response
*/
public function index()
{
// 跳转页面
$this->redirect(url('/notfound'));
}
}