'http_exception_template' => [ // 定义404错误的重定向页面地址 404 => ROOT_PATH . 'public/404.html', // 还可以定义其它的HTTP status ],
abort(404, '文件不存在');