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
+1 -1
View File
@@ -19,7 +19,7 @@ from app.modules.indexer.spider.torrentleech import TorrentLeech
from app.schemas.types import MediaSource
from app.schemas.media import resolve_media_identity
from app.modules.indexer.spider.yema import YemaSpider
from app.schemas import SiteUserData
from app.schemas.site import SiteUserData
from app.schemas.types import MediaType, ModuleType, OtherModulesType
from app.domain import site as site_rules
from app.foundation import text as text_tools
+1 -1
View File
@@ -4,7 +4,7 @@ from typing import Tuple, List
from app.runtime.config import settings
from app.db.oper.systemconfig import SystemConfigOper
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from app.domain import site as site_rules
from app.foundation import temporal as time_tools
+1 -1
View File
@@ -3,7 +3,7 @@ from typing import Tuple, List, Optional
from app.runtime.config import settings
from app.db.oper.systemconfig import SystemConfigOper
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from app.domain import site as site_rules
+1 -1
View File
@@ -7,7 +7,7 @@ from urllib.parse import urlparse
from app.runtime.config import settings
from app.db.oper.systemconfig import SystemConfigOper
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from app.domain import site as site_rules
from app.foundation import temporal as time_tools
+1 -1
View File
@@ -5,7 +5,7 @@ from typing import List, Optional, Tuple
from app.runtime.config import settings
from app.db.oper.systemconfig import SystemConfigOper
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from app.domain import site as site_rules
from app.foundation import temporal as time_tools
+1 -1
View File
@@ -5,7 +5,7 @@ from typing import List, Optional, Tuple
from app.runtime.config import settings
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import AsyncRequestUtils, RequestUtils
from app.foundation import temporal as time_tools
+1 -1
View File
@@ -3,7 +3,7 @@ from urllib.parse import quote
from app.runtime.config import settings
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import RequestUtils, AsyncRequestUtils
from app.foundation import temporal as time_tools
from app.foundation import text as text_tools
+1 -1
View File
@@ -4,7 +4,7 @@ from typing import List, Optional, Tuple
from app.runtime.config import settings
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaType
from app.adapters.network.http import AsyncRequestUtils, RequestUtils
from app.foundation import temporal as time_tools