refactor: reorganize backend module boundaries

This commit is contained in:
jxxghp
2026-08-14 19:53:33 +08:00
parent fe0b444ceb
commit 369d7d6448
584 changed files with 2423 additions and 2275 deletions
+4 -4
View File
@@ -3,14 +3,14 @@ from dataclasses import dataclass
from typing import Literal, Optional, Tuple, Union
from app.chain import ChainBase
from app.platform.config import settings
from app.security.access import get_password_hash, verify_password
from app.runtime.config import settings
from app.application.security.access import get_password_hash, verify_password
from app.db.models.user import User
from app.db.user_oper import UserOper
from app.platform.log import logger
from app.runtime.log import logger
from app.schemas import AuthCredentials, AuthInterceptCredentials
from app.schemas.types import ChainEventType
from app.security.otp import OtpUtils
from app.application.security.otp import OtpUtils
PASSWORD_INVALID_CREDENTIALS_MESSAGE = "用户名、密码或验证码错误"