排行榜请求修改

dev_chengFeng
zhangqiang 2020-07-20 16:38:26 +08:00
parent 5f0b1ae349
commit f24e7cbef3
1 changed files with 4 additions and 2 deletions

View File

@ -712,9 +712,11 @@ function this:BindEvent()
local types = {} local types = {}
local activiteIds = {} local activiteIds = {}
for i = 1, #rankKingList do for i = 1, #rankKingList do
if rankKingList[i].isRankingMainPanelShow then
table.insert(types,rankKingList[i].rankType) table.insert(types,rankKingList[i].rankType)
table.insert(activiteIds,rankKingList[i].activiteId) table.insert(activiteIds,rankKingList[i].activiteId)
end end
end
NetManager.RankFirstRequest(types,activiteIds,function (msg) NetManager.RankFirstRequest(types,activiteIds,function (msg)
UIManager.OpenPanel(UIName.RankingListMainPanel,msg) UIManager.OpenPanel(UIName.RankingListMainPanel,msg)
end) end)