【公告】公告id添加对不同渠道的处理

dev_chengFeng
gaoxin 2021-06-18 18:25:51 +08:00
parent 78d2efc59c
commit f85dc798d3
1 changed files with 5 additions and 0 deletions

View File

@ -276,6 +276,11 @@ end
function this.ShowNotice()
RequestPanel.Show(Language[11137])
--LogError("LoginRoot_NoticeChannel=="..LoginRoot_NoticeChannel)
-- 如果有渠道包配置的id则加上
local packId = PackageManager.GetPackageID()
if packId then
LoginRoot_NoticeChannel = LoginRoot_NoticeChannel.. packId
end
networkMgr:SendGetHttp(LoginRoot_Url .. "jl_loginserver/getNotice?timestamp="..timeStamp.."&sign=".. timeSign.."&packageName="..LoginRoot_NoticeChannel,function (str)
UIManager.OpenPanel(UIName.NoticePopup,str)
end, nil, nil, nil)