mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2025-08-20 00:03:31 +08:00
13 lines
383 B
Python
13 lines
383 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
|
|
from backend.app.api.v1.auth import router as auth_router
|
|
from backend.app.api.v1.task_demo import router as task_demo_router
|
|
|
|
v1 = APIRouter(prefix='/v1')
|
|
|
|
v1.include_router(auth_router, prefix='/users', tags=['用户管理'])
|
|
|
|
v1.include_router(task_demo_router, prefix='/tasks', tags=['任务管理'])
|