zhangjiannan 2025-05-22 14:49:11 +08:00
parent 86d80305af
commit 13d2027a98
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function this.LoginRequest(openId, func)
data.channel_s = AppConst.isSDKLogin and AppConst.SdkChannel .. "#" .. AppConst.SdkPackageName or "" --pt_pid.."#"..pt_gid
data.platform_s = tostring(UnityEngine.Application.platform)
data.area = LoginManager.area
data.server_id = LoginManager.ServerId
data.server_id = tonumber(LoginManager.ServerId)
local msg = data:SerializeToString()
Network:SendMessageWithCallBack(MessageTypeProto_pb.LOGIN_REQUEST, MessageTypeProto_pb.LOGIN_RESPONSE, msg, function(buffer)
local data = buffer:DataByte()