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