摘要: 第1层: 各模块定义路由 ↓ 第2层: v1/router.py 聚合路由 ↓ 第3层: main.py 注册到应用 第1层:定义路由 # app/v1/admin/users.py from fastapi import APIRouter router = APIRouter() # ← 创建路 阅读全文
posted @ 2025-11-18 11:35 窦戈 阅读(10) 评论(0) 推荐(0)