This commit is contained in:
xyj 2024-01-26 17:36:50 +08:00
parent 73818d2f8e
commit 2f706dfda7
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +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)
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)
pattern = r'^test' pattern = r'^test'