mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
14 lines
340 B
Python
14 lines
340 B
Python
import nest_asyncio
|
|
nest_asyncio.apply()
|
|
|
|
from fastapi import FastAPI
|
|
from line.router import router as line_router
|
|
from invoice.router import router as invoice_router
|
|
from trading.router import router as trading_router
|
|
|
|
app = FastAPI()
|
|
|
|
app.include_router(line_router)
|
|
app.include_router(invoice_router)
|
|
app.include_router(trading_router)
|