Merge branch 'refactor/backend-architecture' into development

This commit is contained in:
yangshilin
2026-03-18 17:18:23 +08:00
parent 2070a03d35
commit 48b70e1350
266 changed files with 12386 additions and 9690 deletions

View File

@@ -0,0 +1,13 @@
"""Quota feature dependencies: get_quota_service."""
from fastapi import Depends
from sqlalchemy.ext.asyncio import AsyncSession
from app.core.db import get_async_db
from app.features.quota.service import QuotaService
def get_quota_service(
db: AsyncSession = Depends(get_async_db),
) -> QuotaService:
return QuotaService(db=db)