【登录】非sdk登录时,不重新输入账号不可以再进入游戏

dev_chengFeng
gaoxin 2021-11-11 10:07:14 +08:00
parent bdb08206df
commit f4ff8d4d77
1 changed files with 5 additions and 0 deletions

View File

@ -807,6 +807,11 @@ function this.RequestHttpLogin()
if IsDevelopLogin then
-- 开发用
local str = this.inputField.text
if str == Language[11135] then
RequestPanel.Hide()
PopupTipPanel.ShowTip(Language[11135])
return
end
PlayerPrefs.SetString(openIdkey, str)
url = LoginRoot_Url
.. "jl_loginserver/getUserInfo?openId=" .. str