mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-08 10:40:03 +00:00
11 lines
307 B
Python
11 lines
307 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
|
|
from backend.core.conf import settings
|
|
from backend.plugin.email.api.v1.email import router as email_router
|
|
|
|
v1 = APIRouter(prefix=f'{settings.FASTAPI_API_V1_PATH}/emails', tags=['电子邮件'])
|
|
|
|
v1.include_router(email_router)
|