refactor: 推进后端分层架构治理

This commit is contained in:
jxxghp
2026-08-18 00:29:14 +08:00
parent 5d0bacabd5
commit 5128ae9e1e
363 changed files with 34179 additions and 6019 deletions
+4 -1
View File
@@ -16,8 +16,11 @@ from pathlib import Path
import pytest
from sqlalchemy.orm import DeclarativeBase
import app.db.models # noqa: F401 确保全部模型完成注册
from app.db import Base
from app.db.models import load_all_models
load_all_models()
from app.db.base import get_id_column
PROJECT_ROOT = Path(__file__).resolve().parents[1]