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())