From bb1a8623e27f7bfe8151135ec03bc0fa0a123f22 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Sun, 28 Jan 2024 16:53:54 +0800 Subject: [PATCH] update --- xumu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xumu.py b/xumu.py index 7ddafdf..6977966 100644 --- a/xumu.py +++ b/xumu.py @@ -169,7 +169,7 @@ async def register(request: Request): res.append(r.json()) # 插入设备状态表 send_json = { - "sql": f"insert into root.farm.clientId(iccid, clientId, is_online, deviceId) values('{iccid}','{clientid}', False, '{deviceId}')" + "sql": f"insert into root.farm.clientId(iccid, clientId, is_online, deviceId) values('{iccid}','{clientid}', True, '{deviceId}')" } r = requests.post(baseHost + nonQueryUri, headers=headers, json=send_json) res.append(r.json())