From ab2a923477537a8e204579a35c79a781a38f3396 Mon Sep 17 00:00:00 2001 From: JieLing Date: Wed, 30 Jun 2021 22:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=AC=E5=91=8A=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AD=90=E5=8C=85=E6=89=93=E5=BC=80=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E6=AC=A1=E5=90=8E=E4=B8=8D=E5=86=8D=E6=98=BE=E7=A4=BA=E5=85=AC?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 7a6399580b..ccfccee328 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -313,11 +313,14 @@ function this.ShowNotice() RequestPanel.Show(Language[11137]) --LogError("LoginRoot_NoticeChannel=="..LoginRoot_NoticeChannel) -- 如果有渠道包配置的id则加上 + local noticeChannel = LoginRoot_NoticeChannel local subNoticeID = PackageManager.GetSubNoticeID() if subNoticeID then - LoginRoot_NoticeChannel = LoginRoot_NoticeChannel.. subNoticeID + noticeChannel = noticeChannel.. subNoticeID end - networkMgr:SendGetHttp(LoginRoot_Url .. "jl_loginserver/getNotice?timestamp="..timeStamp.."&sign=".. timeSign.."&packageName="..LoginRoot_NoticeChannel,function (str) + local url = LoginRoot_Url .. "jl_loginserver/getNotice?timestamp="..timeStamp.."&sign=".. timeSign.."&packageName="..noticeChannel + Log(url) + networkMgr:SendGetHttp(url,function (str) UIManager.OpenPanel(UIName.NoticePopup,str) end, nil, nil, nil) end