神龙币支付修改 屏蔽特权钻盘请求

master
PC-202302260912\Administrator 2024-07-16 15:33:46 +08:00
parent cd240fef19
commit 3e5cf124cc
5 changed files with 64 additions and 63 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,8 @@ function this.InitMsg(msg)
this.WatchFuncState()
GeneralManager.GetGeneralMode()
if ActTimeCtrlManager.SingleFuncState(203) then
PrivilegeTurnManager.SetPrivilrgeTurnData()
--注释掉特效转盘,因为协议报错 2024/7/16
--PrivilegeTurnManager.SetPrivilrgeTurnData()
end
end

View File

@ -47,7 +47,7 @@ function this.Pay(context, func)
end)
end
else
if rechargeConfig.OtherBuy and #rechargeConfig.OtherBuy>0 and BagManager.GetItemCountById(rechargeConfig.OtherBuy[1][1])>=rechargeConfig.OtherBuy[1][2] then
if rechargeConfig.OtherBuy and #rechargeConfig.OtherBuy>0 and BagManager.GetItemCountById(rechargeConfig.OtherBuy[1])>=rechargeConfig.OtherBuy[2] then
local sureFunc=function()
NetManager.VoucherPriceBuyGiftGoodsRequest(0,context.Id,function ()
LogError("支付成功")
@ -73,8 +73,8 @@ function this.Pay(context, func)
this.StartPay(true, 0, context, func)
end
end
local itemId=rechargeConfig.OtherBuy[1][1]
local itemNum=rechargeConfig.OtherBuy[1][2]
local itemId=rechargeConfig.OtherBuy[1]
local itemNum=rechargeConfig.OtherBuy[2]
local args={}
args[1]=string.format(GetLanguageStrById(1013002),itemNum,BagManager.GetItemCountById(itemId))
args[2]=GetLanguageStrById(1013003)