摘要:
from fastapi import FastAPI, Path app = FastAPI() @app.get("/") async def root(): return {"message": "Hello World"} @app.get("/book/{id}") async def g 阅读全文
posted @ 2026-03-03 23:09
Clefairy
阅读(4)
评论(0)
推荐(0)
摘要:
from fastapi import FastAPI # 创建 FastAPI 实例 app = FastAPI() @app.get("/") async def root(): return {"message": "Hello World888"} # 访问 /hello 响应结果 msg: 阅读全文
posted @ 2026-03-03 23:04
Clefairy
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号