feat: 新增技能扩展N7一章相关示例源码

This commit is contained in:
100gle
2022-12-01 18:43:56 +08:00
parent 527d3b655a
commit 72162b7166
14 changed files with 663 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import uvicorn
from fastapi import FastAPI
from {{ app_name }}.views import router
app = FastAPI()
@app.get("/")
async def index():
return {"msg": "index"}
app.include_router(router)
if __name__ == '__main__':
uvicorn.run(app)