后台会员页新增增长趋势图表:累计曲线、每日新增堆叠面积图、统计卡片
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user