'commit'
This commit is contained in:
@@ -3,12 +3,8 @@ from fastapi import APIRouter, Query
|
|||||||
from Model.RuYuanZaiYuanCountModel import RuYuanZaiYuanModel
|
from Model.RuYuanZaiYuanCountModel import RuYuanZaiYuanModel
|
||||||
|
|
||||||
# 创建APIRouter实例
|
# 创建APIRouter实例
|
||||||
router = APIRouter(prefix="/RuYuanZaiYuan", tags=["大屏展示"])
|
router = APIRouter(prefix="/RuYuanZaiYuan", tags=["入校、在校人数统计"])
|
||||||
|
|
||||||
# 默认的根路由
|
|
||||||
@router.get("/")
|
|
||||||
async def root():
|
|
||||||
return {"message": "Welcome to YunNan Education World!"}
|
|
||||||
|
|
||||||
@router.get("/school/chart")
|
@router.get("/school/chart")
|
||||||
async def get_education_chart_config(
|
async def get_education_chart_config(
|
||||||
|
Reference in New Issue
Block a user