This commit is contained in:
xyj 2024-01-25 15:02:37 +08:00
parent 4c035d7b05
commit 885d423340
1 changed files with 1 additions and 2 deletions

View File

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