From 73818d2f8ea2e3b4df95c13a87547b889d2d99a8 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Fri, 26 Jan 2024 17:35:08 +0800 Subject: [PATCH] update --- xumu.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/xumu.py b/xumu.py index a1fde45..42c06ca 100644 --- a/xumu.py +++ b/xumu.py @@ -141,7 +141,6 @@ async def register(request: Request): payload = json.loads(payload) send_len = payload["l"] if receive_len != send_len: - print(receive_len) return BaseResponse(code=301, msg=f"data valid error, receive_len:{receive_len}") deviceId = payload["d"] iccid = payload["cid"] @@ -194,7 +193,6 @@ async def message_publish(data): payload = json.loads(payload) send_len = payload["l"] if receive_len != send_len: - print("校验错误,收到的消息长度:", receive_len) return BaseResponse(code=301, msg=f"data valid error,receive_len:{receive_len}") m = payload["m"] v = payload["v"] @@ -237,7 +235,6 @@ async def message_publish(data): # 改变设备状态接口 async def client_change_status(clientid, status): - print(clientid) try: sql_query = f"select timestamp from root.farm.clientId where clientId='{clientid}'" r = requests.post(baseHost + queryUri, headers=headers, json={"sql": sql_query})