Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
b18596b8b0
|
@ -31,8 +31,13 @@ end
|
|||
|
||||
function MonthRewardPreviewPopup:OnOpen(type, goodType)
|
||||
local data = OperatingManager.GetPanelShowReward(type, true,false)
|
||||
local getDays = OperatingManager.GetRewardDay(goodType)
|
||||
-- Log("领取天数" .. getDays)
|
||||
local getDays = 0
|
||||
local canBuyNum = OperatingManager.GetLeftBuyTime(goodType, type)
|
||||
if canBuyNum and canBuyNum <= 0 then
|
||||
getDays = OperatingManager.GetRewardDay(goodType)
|
||||
else
|
||||
getDays = 0
|
||||
end
|
||||
for i = 1, #data do
|
||||
if not this.rewardList[i] then
|
||||
this.rewardList[i] = {}
|
||||
|
|
Loading…
Reference in New Issue