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

16 lines
246 B
PHP

<?php
namespace app\student\controller;
// 引用空控制器基类
use app\common\controller\BaseError;
class Error extends BaseError
{
public function index()
{
// 跳转页面
$this->redirect(url('/notfound'));
}
}