INNER CODE UNIT · Python
health
CassiopeiaCode/q2api · account-feeder/app.py:331
async def health():
"""健康检查"""
return {"status": "ok", "service": "amazonq-account-feeder"}
if __name__ == "__main__":
print(f"🚀 Amazon Q 账号投喂服务启动中...")
print(f"📍 监听端口: {PORT}")
print(f"🔗 主服务地址: {API_SERVER}")
print(f"🌐 访问地址: http://localhost:{PORT}")
uvicorn.run(app, host="0.0.0.0", port=PORT)