swal("错误", "数据库连接失败", "error");'; exit; } // 查询所有公告,按发布时间倒序 $sql = "SELECT id, title, content, created_at FROM announcements ORDER BY created_at DESC"; $result = $conn->query($sql); ?> 历史公告 - <?php echo APP_STORE_NAME; ?>

历史公告

num_rows > 0): ?>
fetch_assoc()): ?>

暂无历史公告记录。