全部更新确认,无基础错误,各自测试各自端口bug,暂时没有自动导入数据。
This commit is contained in:
+1
-1
@@ -9,9 +9,9 @@ Teachers_API.include_router(tea_api)
|
||||
|
||||
# 自测接口
|
||||
app = FastAPI()
|
||||
app.include_router(tea_api,tags=["老师"])
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.include_router(tea_api, tags=["老师"])
|
||||
Base.metadata.create_all(engine1)
|
||||
|
||||
import uvicorn
|
||||
|
||||
Reference in New Issue
Block a user