【公告】修改公告在分子包时配置的字段
parent
abbdbfe3e4
commit
c0a561e75e
|
@ -36,6 +36,12 @@ function PackageManager.GetPackageID()
|
|||
return this.StreamConfig.PackID
|
||||
end
|
||||
end
|
||||
-- 获取子渠道包公告配置
|
||||
function PackageManager.GetSubNoticeID()
|
||||
if this.StreamConfig then
|
||||
return this.StreamConfig.SubNoticeID
|
||||
end
|
||||
end
|
||||
-- 获取包名
|
||||
function PackageManager.GetPackageName()
|
||||
return this.PackageName
|
||||
|
|
|
@ -277,9 +277,9 @@ 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
|
||||
local subNoticeID = PackageManager.GetSubNoticeID()
|
||||
if subNoticeID then
|
||||
LoginRoot_NoticeChannel = LoginRoot_NoticeChannel.. subNoticeID
|
||||
end
|
||||
networkMgr:SendGetHttp(LoginRoot_Url .. "jl_loginserver/getNotice?timestamp="..timeStamp.."&sign=".. timeSign.."&packageName="..LoginRoot_NoticeChannel,function (str)
|
||||
UIManager.OpenPanel(UIName.NoticePopup,str)
|
||||
|
|
Loading…
Reference in New Issue