联网推进(用户名相关*2)

This commit is contained in:
MrZ626
2021-04-06 15:26:59 +08:00
parent 9fdb50d12a
commit c6db6834e9
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ end
function NET.wsConnectPlay()
if _lock("connectPlay")then
WS.connect("play","/play",JSON.encode{
id=USER.uid,
uid=USER.uid,
accessToken=NET.accessToken,
})
end

View File

@@ -183,7 +183,7 @@ local loadingThread=coroutine.wrap(function()
WS.connect("app","/app")
if USER.authToken then
WS.connect("user","/user",JSON.encode{
id=USER.uid,
uid=USER.uid,
authToken=USER.authToken,
})
end