This commit is contained in:
hackrobot
2024-07-17 22:38:32 +08:00
parent ecf9b300d1
commit e9d4a2642c
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -12,7 +12,7 @@ import qrcode
import os
from fastapi.responses import FileResponse
from fastapi.staticfiles import StaticFiles
from app.tgMesaage import sendTg #发送tg消息
from app.tgMessage import sendTg # type: ignore #发送tg消息
from datetime import datetime
# 初始化数据库

4
run.py
View File

@@ -1,6 +1,6 @@
import uvicorn
if __name__ == "__main__":
# uvicorn.run("app.main:app", host="0.0.0.0", port=8700, reload=True)
uvicorn.run("app.main:app", host="127.0.0.1", port=8700, reload=True)
uvicorn.run("app.main:app", host="0.0.0.0", port=8700, reload=True)
# uvicorn.run("app.main:app", host="127.0.0.1", port=8700, reload=True)