@echo off echo 重启后端服务器... echo. echo 停止现有进程... taskkill /f /im go.exe >nul 2>&1 echo 等待进程完全停止... timeout /t 2 /nobreak >nul echo 启动后端服务器... cd backend go run main.go