@echo off chcp 65001 >nul echo 测试服务器健康状态... echo. powershell -Command "try { $response = Invoke-WebRequest -Uri 'https://ai-anim.com/health' -UseBasicParsing; Write-Host '服务器正常' -ForegroundColor Green; Write-Host $response.Content } catch { Write-Host '服务器异常' -ForegroundColor Red; if ($_.Exception.Response) { Write-Host '状态码:' $_.Exception.Response.StatusCode.value__ } }" echo. pause