from fastapi import APIRouter from app.api.v1.endpoints import admin, app_nav_config, auth, comments, corrections, events, favorites, map_proxy, membership, notifications, points, promotions, ratings, search, shooting, spots, stats, tags, upload, users v1_router = APIRouter() v1_router.include_router(auth.router, prefix="/auth", tags=["认证"]) v1_router.include_router(users.router, prefix="/users", tags=["用户"]) v1_router.include_router(spots.router, prefix="/spots", tags=["地点"]) v1_router.include_router(favorites.router, prefix="/favorites", tags=["收藏"]) v1_router.include_router(upload.router, prefix="/upload", tags=["上传"]) v1_router.include_router(points.router, prefix="/points", tags=["积分"]) v1_router.include_router(comments.router, tags=["评论"]) v1_router.include_router(ratings.router, tags=["评分"]) v1_router.include_router(tags.router, tags=["标签"]) v1_router.include_router(search.router, prefix="/search", tags=["搜索"]) v1_router.include_router(corrections.router, tags=["校正建议"]) v1_router.include_router(map_proxy.router, prefix="/map", tags=["地图"]) v1_router.include_router(notifications.router, prefix="/notifications", tags=["通知"]) v1_router.include_router(shooting.router, prefix="/shooting", tags=["约拍"]) v1_router.include_router(events.router, prefix="/events", tags=["活动"]) v1_router.include_router(promotions.router, prefix="/promotions", tags=["推广"]) v1_router.include_router(membership.router, prefix="/membership", tags=["会员"]) v1_router.include_router(stats.router, prefix="/stats", tags=["统计"]) v1_router.include_router(app_nav_config.router, prefix="/ui-config", tags=["前端配置"]) v1_router.include_router(admin.router, prefix="/admin", tags=["管理端"])