更新 app/main.py
This commit is contained in:
@@ -20,7 +20,7 @@ app.include_router(items_router, prefix="/api/v1")
|
||||
|
||||
@app.get("/")
|
||||
def read_root():
|
||||
return {"message": "欢迎使用FastAPI示例应用 v1.1"}
|
||||
return {"message": "欢迎使用FastAPI示例应用 v1.2"}
|
||||
|
||||
@app.get("/health")
|
||||
def health_check():
|
||||
|
||||
Reference in New Issue
Block a user