特殊渠道特殊礼包显示处理

dev_fengTi_And hotfix/you_gu/cdn_xiao7_and/1.1.5
wangzhenxing 2023-07-31 16:03:24 +08:00
parent 143e47c6ee
commit a025c1b250
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ function this.SetBasicValues(giftGoodsList)
if rechargeConfigLocal then
LogBlue("礼包类型:"..tostring(rechargeConfigLocal.Type).." 礼包ID"..tostring(giftGoodsInfo.goodsId).." 已购:"..tostring(giftGoodsInfo.buyTimes)
.."次 开始时间:"..tostring(giftGoodsInfo.startTime).." 结束时间:"..tostring(giftGoodsInfo.endTime).. " 可购:" ..tostring(giftGoodsInfo.dynamicBuyTimes).." 是否已买:"..tostring(giftGoodsInfo.isBought))
if giftGoodsInfo.endTime == 0 and giftGoodsInfo.startTime == 0 and (rechargeConfigLocal.ShowType == 25 or rechargeConfigLocal.ShowType == 26 or rechargeConfigLocal.ShowType == 8 ) and (rechargeConfigLocal.Package == 2 and AppConst.SdkChannel=="XQDC") then
if giftGoodsInfo.endTime == 0 and giftGoodsInfo.startTime == 0 and (rechargeConfigLocal.ShowType == 25 or rechargeConfigLocal.ShowType == 26 or rechargeConfigLocal.ShowType == 8 ) then
elseif rechargeConfigLocal.Package == 2 and AppConst.SdkChannel=="XQDC" then
else
if giftGoodsInfoList[rechargeConfigLocal.Type] then
table.insert(giftGoodsInfoList[rechargeConfigLocal.Type], giftGoodsInfo)