'/student/dashboard.php', 'parent' => '/parent/dashboard.php', 'admin' => '/admin/dashboard.php' ]; $target = $redirect[$_SESSION['user_type']] ?? '/index.php'; header("Location: $target"); exit(); } ?> <?php echo SITE_NAME; ?> - 登录

学生 / 家长 / 管理端 统一登录