refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions
+6 -6
View File
@@ -7,28 +7,28 @@ import json
from datetime import timedelta
from typing import Any, Annotated, Optional
from app.helper.sites import SitesHelper
from app.infrastructure.sites import SitesHelper
from fastapi import Depends, HTTPException, Body, Request, Response
from sqlalchemy.ext.asyncio import AsyncSession
from app import schemas
from app.api.response import RAW_RESPONSE_OPENAPI_KEY, ResponseAPIRouter
from app.core import security
from app.core.config import settings
from app.security import access as security
from app.platform.config import settings
from app.db import get_async_db
from app.db.models.passkey import PassKey
from app.db.models.user import User
from app.db.systemconfig_oper import SystemConfigOper
from app.db.user_oper import get_current_active_user, get_current_active_user_async
from app.helper.passkey import (
from app.security.passkey import (
PassKeyHelper,
PassKeyRegistrationOriginMismatchError,
PassKeyRegistrationVerificationError,
PasskeyChallengeStore,
)
from app.log import logger
from app.platform.log import logger
from app.schemas.types import SystemConfigKey
from app.utils.otp import OtpUtils
from app.security.otp import OtpUtils
router = ResponseAPIRouter()