确保你已在本地启动服务: uvicorn app.main:app --host 127.0.0.1 --port 8000
uvicorn app.main:app --host 127.0.0.1 --port 8000