修改character数据格式
This commit is contained in:
parent
9fcd390366
commit
142c31a322
@ -90,7 +90,9 @@ async def handle_characterlist(client: WebSocket):
|
||||
protocol["cmd"] = "CharacterList"
|
||||
protocol["status"] = 1
|
||||
protocol["message"] = "success"
|
||||
protocol["data"] = json.dumps(characters)
|
||||
characterforUE = {}
|
||||
characterforUE["characterInfos"] = characters
|
||||
protocol["data"] = json.dumps(characterforUE)
|
||||
await senddata(client, protocol)
|
||||
|
||||
async def process_protocol_json(json_str: str, client: WebSocket):
|
||||
|
Loading…
x
Reference in New Issue
Block a user