fixed
This commit is contained in:
parent
cd68bdfb01
commit
fd0618b83f
2
xumu.py
2
xumu.py
|
@ -161,7 +161,7 @@ async def register(request: Request):
|
|||
send_json = create_register_sql(iccid, deviceId, type)
|
||||
r = requests.post(baseHost + nonQueryUri, headers=headers, json=send_json)
|
||||
res.append(r.json())
|
||||
# 插入设备状态表,只有新注册的才会插入设备表
|
||||
# TODO 插入设备状态表,如果状态表有,那么不插入设备表,如果状态表没有,则插入
|
||||
send_json = insert_device_status_sql(iccid, clientid, deviceId)
|
||||
r = requests.post(baseHost + nonQueryUri, headers=headers, json=send_json)
|
||||
res.append(r.json())
|
||||
|
|
Loading…
Reference in New Issue