统计分析模块更新,待测试,优化所有模块main.py文件,修复bug。

This commit is contained in:
Orangeeee
2026-09-22 22:59:50 +08:00
committed by geyuan
parent 9c9e51d68f
commit c0880f9a44
9 changed files with 30 additions and 26 deletions
+6 -4
View File
@@ -6,12 +6,14 @@ from scores.database import engine,Base
Scores_API = APIRouter()
Scores_API.include_router(score_api)
# 自测接口
app = FastAPI(tags=['成绩'],title='成绩管理系统')
app.include_router(score_api)
Base.metadata.create_all(engine)
if __name__ == '__main__':
# 自测接口
app = FastAPI(tags=['成绩'], title='成绩管理系统')
app.include_router(score_api)
Base.metadata.create_all(engine)
import uvicorn
uvicorn.run('main:app',host='127.0.0.1',port=12346)