@echo off
echo 正在启动FutureMail API服务器...
cd /d "%~dp0FutureMailAPI"
start "FutureMail API Server" cmd /k "dotnet run"
echo API服务器正在启动，请等待几秒钟...
timeout /t 5 /nobreak > nul
echo 正在打开Swagger文档...
start http://localhost:5003/swagger
echo 正在打开API测试页面...
start "%~dp0api_test.html"
echo 完成！
pause