tcx_xiyou_yueNan
parent
17961325fa
commit
20e825575b
|
|
@ -64,6 +64,10 @@ function this.Pay(id, func)
|
||||||
CheckRedPointStatus(RedPointType.GrowthPackage) --成长礼包的红点检测
|
CheckRedPointStatus(RedPointType.GrowthPackage) --成长礼包的红点检测
|
||||||
--直购商品
|
--直购商品
|
||||||
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
|
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
|
||||||
|
if rechargeConfig.Price == 0 then
|
||||||
|
NetManager.MoneyBuyGiftRequest(id)
|
||||||
|
return
|
||||||
|
end
|
||||||
--现金点券购买
|
--现金点券购买
|
||||||
local xjdqNum = BagManager.GetItemCountById(131)
|
local xjdqNum = BagManager.GetItemCountById(131)
|
||||||
if xjdqNum >= rechargeConfig.Price and rechargeConfig.Price > 0 and rechargeConfig.OtherBuy1 and #rechargeConfig.OtherBuy1 > 0 and rechargeConfig.OtherBuy1[1][1] == 131 then
|
if xjdqNum >= rechargeConfig.Price and rechargeConfig.Price > 0 and rechargeConfig.OtherBuy1 and #rechargeConfig.OtherBuy1 > 0 and rechargeConfig.OtherBuy1[1][1] == 131 then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue