update
This commit is contained in:
parent
981f8d0ba4
commit
c05ff85518
2
xumu.py
2
xumu.py
|
@ -261,7 +261,7 @@ async def process_data(request: Request):
|
|||
data = json.loads(data)
|
||||
event = data["event"]
|
||||
clientid = data["clientid"]
|
||||
if not clientid.startswith("farm"):
|
||||
if not clientid.startswith("farm") or not clientid.startswith("test"):
|
||||
return BaseResponse(code=500, msg="不符合畜牧clientId")
|
||||
# 连接成功处理
|
||||
if event == "client.connected":
|
||||
|
|
Loading…
Reference in New Issue