修复tapdb用户id

dev_chengFeng
JieLing 2020-07-24 10:22:20 +08:00
parent 2899bb433c
commit ac344a2d99
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)
--