update
This commit is contained in:
parent
d9d0d64fbb
commit
3bdd00bb2c
2
xumu.py
2
xumu.py
|
@ -259,7 +259,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)
|
# print(clientid + "======" + event)
|
||||||
pattern = r'^farm_[a-zA-Z0-9]{12}$'
|
pattern = r'^farm_[a-zA-Z0-9]{12}$'
|
||||||
amatch1 = re.match(pattern, clientid)
|
amatch1 = re.match(pattern, clientid)
|
||||||
# 如果两个都不满足,那就错误
|
# 如果两个都不满足,那就错误
|
||||||
|
|
Loading…
Reference in New Issue