update
This commit is contained in:
parent
3bdd00bb2c
commit
bb1a8623e2
2
xumu.py
2
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())
|
||||
|
|
Loading…
Reference in New Issue