<!DOCTYPE html>
<html>
<head>
    <title>API 测试</title>
</head>
<body>
    <h1>API 测试页面</h1>
    <button onclick="testHealth()">测试健康检查</button>
    <div id="result"></div>
    <script>
        async function testHealth() {
            const res = await fetch('/api/health');
            const data = await res.json();
            document.getElementById('result').innerText = JSON.stringify(data, null, 2);
        }
    </script>
</body>
</html>
