Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
ZhangBiao 2021-09-02 22:25:08 +08:00
commit 72c42eb871
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ function this.Initialize()
else
local errCode = result[2]
if not errCode then
PopupTipPanel.ShowTip("登录失败")
MsgPanel.ShowOne("登录失败")
elseif errCode == "101" then
MsgPanel.ShowOne("根据国家防沉迷相关规定,我们将不再向未成年人提供服务,敬请谅解!")
end

View File

@ -828,7 +828,7 @@ function this.OnReceiveLogin(str)
local json = require 'cjson'
local data = json.decode(str)
if data.errorCode and data.errorCode == -1 then
PopupTipPanel.ShowTip(data.reason or Language[11145])
MsgPanel.ShowOne(data.reason or Language[11145])
return
end
if data.uid and data.token and not LoginManager.IsLogin then