From c0dd49875d7cbf7e1c4cfb19b667ce4217a9dcb4 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Tue, 20 Feb 2024 15:04:51 +0800 Subject: [PATCH] statistics --- xumu.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/xumu.py b/xumu.py index 4f3d79b..0bfb23b 100644 --- a/xumu.py +++ b/xumu.py @@ -274,13 +274,11 @@ async def message_publish(data): r = r.json() res.append(r) if is_warning(deviceId, v, t): - print(deviceId + "报警") # 如果是报警数据,则发送到报警数据表 send_json = insert_to_warning_sql(deviceId, v, t) r = requests.post(baseHost + insertUri, headers=headers, json=send_json) r = r.json() res.append(r) - print(res) return BaseResponse(data=res) except Exception as e: return BaseResponse(code=500, msg=str(e))