mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-23 05:30:54 +00:00
* add the get verification code interface * add the login interface captcha * clean up the debugging code
11 lines
336 B
Python
11 lines
336 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
from backend.app.api.v1.auth.auth import router as auth_router
|
|
from backend.app.api.v1.auth.captcha import router as captcha_router
|
|
|
|
router = APIRouter(prefix='/auth', tags=['认证'])
|
|
|
|
router.include_router(auth_router)
|
|
router.include_router(captcha_router)
|