mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 05:02:49 +00:00
* Optimize routes to better align with RESTful * Add codes endpoint description * Update jinja templates * fix typo * fix sql
12 lines
369 B
Python
12 lines
369 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
|
|
from backend.app.admin.api.v1.auth.auth import router as auth_router
|
|
from backend.app.admin.api.v1.auth.captcha import router as captcha_router
|
|
|
|
router = APIRouter(prefix='/auth')
|
|
|
|
router.include_router(auth_router, tags=['授权'])
|
|
router.include_router(captcha_router, tags=['验证码'])
|