fix:文明

This commit is contained in:
吕新雨
2026-02-02 10:47:24 +08:00
parent 7e4074d457
commit 814b96edb6
28 changed files with 976 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
from fastapi import FastAPI
from app.core.config import get_settings
from app.api.v1.user_profile_scoring import router as user_profile_router
def create_app() -> FastAPI:
@@ -14,6 +15,9 @@ def create_app() -> FastAPI:
app = FastAPI(title=settings.app_name)
# 业务路由
app.include_router(user_profile_router)
@app.get("/healthz")
async def healthz() -> dict:
return {"status": "ok", "env": settings.app_env}