getToken()) { Utils::redirect('../index.php', '无效的 token,请重新登录。'); } } else { Utils::redirect('../index.php', '非法访问,请先登录。'); }