From 66778dacaf887af91b0b29cd71437fb0e8edd815 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Sun, 28 Jan 2024 17:05:16 +0800 Subject: [PATCH] update --- xumu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xumu.py b/xumu.py index 6977966..995937c 100644 --- a/xumu.py +++ b/xumu.py @@ -260,7 +260,7 @@ async def process_data(request: Request): event = data["event"] clientid = data["clientid"] # print(clientid + "======" + event) - pattern = r'^farm_[a-zA-Z0-9]{12}$' + pattern = r'^f\d{1,10}$' amatch1 = re.match(pattern, clientid) # 如果两个都不满足,那就错误 if not amatch1: