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
+2 -2
View File
@@ -18,9 +18,9 @@ from urllib.request import Request, urlopen
import psutil
from app.core.config import settings
from app.platform.config import settings
from app.doctor.models import DoctorFinding, DoctorFindingStatus, DoctorReport, DoctorSeverity
from app.utils.system import SystemUtils
from app.infrastructure.system import SystemUtils
CheckFunc = Callable[["DoctorRunnerProtocol"], None]
+2 -2
View File
@@ -6,7 +6,7 @@ import sys
from datetime import datetime
from typing import Any, Optional
from app.core.config import settings
from app.platform.config import settings
from app.doctor.checks import default_checks
from app.doctor.models import (
DoctorFinding,
@@ -14,7 +14,7 @@ from app.doctor.models import (
DoctorReport,
DoctorSeverity,
)
from app.utils.system import SystemUtils
from app.infrastructure.system import SystemUtils
from version import APP_VERSION