删除多余打印

This commit is contained in:
zw
2025-09-04 20:50:48 +08:00
parent 7564319638
commit 3381386b88
4 changed files with 3 additions and 18 deletions

View File

@@ -312,14 +312,13 @@ def monitorMessages():
@app.route("/setLoginInfo", methods=['POST'])
def upLoadLogFile():
def upLoadLogLogs():
data = request.get_json() # 解析 JSON
token = data.get("token")
userId = data.get("userId")
tenantId = data.get("tenantId")
ok = LogManager.upload_all_logs("http://47.79.98.113:8101/api/log/upload", token, userId, tenantId)
if ok:
print(123)
return ResultData(data="日志上传成功").toJson()
else:
return ResultData(data="", msg="日志上传失败").toJson()