上传文件至「/」

This commit is contained in:
2026-09-21 21:47:39 +08:00
commit 193a1b65c9
3 changed files with 53 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import uvicorn
from fastapi import FastAPI
from api import wl_teacher_api
app = FastAPI(title="沃林学生管理系统")
# 统一分发子路由
app.include_router(wl_teacher_api.router, prefix="/teacher",tags=["教师模块"])
if __name__ == "__main__":
uvicorn.run("main:app",host='0.0.0.0', port=8003,reload=True)