rfid_last_data_query
This commit is contained in:
parent
efde5948d2
commit
f7e67a3bf9
1
xumu.py
1
xumu.py
|
@ -265,6 +265,7 @@ async def process_data(request: Request):
|
||||||
data = json.loads(data)
|
data = json.loads(data)
|
||||||
event = data["event"]
|
event = data["event"]
|
||||||
clientid = data["clientid"]
|
clientid = data["clientid"]
|
||||||
|
# print(clientid + "======" + event)
|
||||||
pattern = r'^f\d{1,10}$'
|
pattern = r'^f\d{1,10}$'
|
||||||
amatch1 = re.match(pattern, clientid)
|
amatch1 = re.match(pattern, clientid)
|
||||||
# 如果两个都不满足,那就错误
|
# 如果两个都不满足,那就错误
|
||||||
|
|
Loading…
Reference in New Issue