tcx_xiyou_yueNan
PC-202302260912\Administrator 2025-02-10 17:29:02 +08:00
parent 17961325fa
commit 20e825575b
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ function this.Pay(id, func)
CheckRedPointStatus(RedPointType.GrowthPackage) --成长礼包的红点检测
--直购商品
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
if rechargeConfig.Price == 0 then
NetManager.MoneyBuyGiftRequest(id)
return
end
--现金点券购买
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