修复tapdb用户id
parent
2899bb433c
commit
ac344a2d99
|
|
@ -517,7 +517,7 @@ function this.OnConnect(network)
|
|||
.. "&platform=" .. 1
|
||||
.. "&sub_channel=" .. LoginRoot_SubChannel
|
||||
.. "&pid=" .. AppConst.SdkChannel --LoginManager.pt_pId
|
||||
.. "&gid=" .. AppConst.SdkPayChannel --LoginManager.pt_gId
|
||||
.. "&gid=" .. AppConst.SdkPackageName --LoginManager.pt_gId
|
||||
.. "&version=" .. LoginRoot_PackageVersion)
|
||||
networkMgr:SendGetHttp(LoginRoot_Url
|
||||
.. "jl_loginserver/getUserInfo?openId=" .. AppConst.OpenId
|
||||
|
|
@ -526,7 +526,7 @@ function this.OnConnect(network)
|
|||
.. "&platform=" .. 1
|
||||
.. "&sub_channel=" .. LoginRoot_SubChannel
|
||||
.. "&pid=" .. AppConst.SdkChannel --LoginManager.pt_pId
|
||||
.. "&gid=" .. AppConst.SdkPayChannel --LoginManager.pt_gId
|
||||
.. "&gid=" .. AppConst.SdkPackageName --LoginManager.pt_gId
|
||||
.. "&version=" .. LoginRoot_PackageVersion,
|
||||
this.OnReceiveLogin, nil, nil, nil)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ function this.LoginRequest(openId, func)
|
|||
["Bundle-id"] = AppConst.SdkPackageName,
|
||||
xx_id = AppConst.SdkChannel
|
||||
})
|
||||
TapDBManager.SetUser(openId)
|
||||
TapDBManager.SetServer(LoginManager.ServerId)
|
||||
end)
|
||||
end
|
||||
|
|
@ -126,6 +125,7 @@ function this.PlayerInfoRequest(func)
|
|||
role_name = PlayerManager.nickName,
|
||||
vip_level = msg.player.vipLevel,
|
||||
})
|
||||
TapDBManager.SetUser(PlayerManager.uid)
|
||||
TapDBManager.SetLevel(PlayerManager.level)
|
||||
|
||||
--
|
||||
|
|
|
|||
Loading…
Reference in New Issue