refactor(backend): 后端重构初步设想

This commit is contained in:
sophie committed 2026-06-17 11:24:54 +08:00
1 parent b69d549b2c
commit 21b8c24815
96 files changed
+1592

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
"""
backend/app/services/faq/__init__.py
用途:FAQ 缓存与热榜聚合(收敛 faq_*、hot_faq_* 模块)。
逻辑:Wave 4 自 services 根目录迁入。
"""
+2
View File
@@ -0,0 +1,2 @@
"""FAQ 热榜聚合(Wave 4 自 hot_faq_aggregator.py 迁入)。"""
from app.services import hot_faq_aggregator # noqa: F401
+2
View File
@@ -0,0 +1,2 @@
"""FAQ Redis 缓存(Wave 4 自 faq_cache.py 迁入)。"""
from app.services import faq_cache # noqa: F401
+2
View File
@@ -0,0 +1,2 @@
"""FAQ 热榜设置(Wave 4 自 faq_hot_settings.py 迁入)。"""
from app.services import faq_hot_settings # noqa: F401