Files
000-platform/backend/app/services/__init__.py
111 6c6c48cf71
All checks were successful
continuous-integration/drone/push Build is passing
feat: 新增告警、成本、配额、微信模块及缓存服务
- 新增告警模块 (alerts): 告警规则配置与触发
- 新增成本管理模块 (cost): 成本统计与分析
- 新增配额模块 (quota): 配额管理与限制
- 新增微信模块 (wechat): 微信相关功能接口
- 新增缓存服务 (cache): Redis 缓存封装
- 新增请求日志中间件 (request_logger)
- 新增异常处理和链路追踪中间件
- 更新 dashboard 前端展示
- 更新 SDK stats_client 功能
2026-01-24 16:53:47 +08:00

23 lines
633 B
Python

"""业务服务"""
from .crypto import encrypt_value, decrypt_value
from .cache import CacheService, get_cache, get_redis_client
from .wechat import WechatService, get_wechat_service_by_id
from .alert import AlertService
from .cost import CostCalculator, calculate_cost
from .quota import QuotaService, check_quota_middleware
__all__ = [
"encrypt_value",
"decrypt_value",
"CacheService",
"get_cache",
"get_redis_client",
"WechatService",
"get_wechat_service_by_id",
"AlertService",
"CostCalculator",
"calculate_cost",
"QuotaService",
"check_quota_middleware"
]