后台会员页新增增长趋势图表:累计曲线、每日新增堆叠面积图、统计卡片

This commit is contained in:
2569718930@qq.com
2026-05-19 19:28:38 +08:00
parent d50ced1b8f
commit e1e000e854
4 changed files with 159 additions and 14 deletions
+6
View File
@@ -7,6 +7,7 @@ from web.services.ops_api import (
extend_ops_subscription,
get_ops_analytics_funnel,
get_ops_config,
get_ops_memberships_growth,
get_ops_health_check,
get_ops_logs,
get_ops_truth_history,
@@ -38,6 +39,11 @@ async def ops_memberships(request: Request, limit: int = 200):
return list_ops_memberships(request, limit=limit)
@router.get("/api/ops/memberships/growth")
async def ops_memberships_growth(request: Request, days: int = 90):
return get_ops_memberships_growth(request, days=days)
@router.get("/api/ops/payments/incidents")
async def ops_payment_incidents(
request: Request,