This commit is contained in:
xyj 2024-01-24 16:08:46 +08:00
parent 109e972fa6
commit 8f5391bfdf
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ async def process_data(request: Request):
data = data.decode("utf-8") data = data.decode("utf-8")
data = json.loads(data) data = json.loads(data)
event = data["event"] event = data["event"]
print(data)
if event == "client.connected": if event == "client.connected":
print("已连接") print("已连接")
print(data["connected_at"]) print(data["connected_at"])