update
This commit is contained in:
parent
109e972fa6
commit
8f5391bfdf
1
main.py
1
main.py
|
@ -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"])
|
||||||
|
|
Loading…
Reference in New Issue