update
This commit is contained in:
parent
4c035d7b05
commit
885d423340
3
xumu.py
3
xumu.py
|
@ -76,8 +76,7 @@ async def rfid_query(rfid):
|
|||
if len(values) == 0:
|
||||
return BaseResponse(msg="No Such RFID", code=500)
|
||||
deviceId = values[0][0]
|
||||
send_json = DataQuery(deviceId=deviceId)
|
||||
return await data_query(send_json)
|
||||
return await data_query(deviceId)
|
||||
except Exception as e:
|
||||
return BaseResponse(code=500, msg=str(e))
|
||||
|
||||
|
|
Loading…
Reference in New Issue