auto_trade_sys/backend/api/routes/dashboard.py
薇薇安 8a89592cb5 a
2026-01-13 17:30:59 +08:00

11 lines
246 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
仪表板API重定向到stats
"""
from fastapi import APIRouter
from api.routes.stats import get_dashboard_data
router = APIRouter()
# 使用stats模块的dashboard函数
router.add_api_route("/", get_dashboard_data, methods=["GET"])