<script>
    function updateResults() {
        fetch('https://lucky28.com/api/results')
            .then(response => response.json())
            .then(data => {
                document.getElementById('results').innerHTML = JSON.stringify(data);
            });
    }

    setInterval(updateResults, 5000); // 每5秒更新一次
</script>