tcx_xiyou_yueNan
zhangjiannan 2025-01-14 18:00:37 +08:00
parent c19216f5e8
commit 400db99795
1 changed files with 8 additions and 4 deletions

View File

@ -70,6 +70,7 @@ function this.Pay(id, func)
local sureFunc = function()
NetManager.MoneyBuyGiftRequest(id)
end
--[[
local cancelFunc = function()
if AppConst.isSDKLogin and rechargeConfig.Price > 0 then
PayManager.SdkPay({ Id = id, orderId = orderId })
@ -79,12 +80,13 @@ function this.Pay(id, func)
end)
end
end
]]
local args = {}
args[1] = Language[12029]
args[2] = Language[12030]
args[3] = Language[12031]
args[3] = Language[10685]
args[4] = sureFunc
args[5] = cancelFunc
args[5] = nil
UIManager.OpenPanel(UIName.GMCommonConfirmPanel, args)
return
end
@ -94,6 +96,7 @@ function this.Pay(id, func)
local sureFunc = function()
NetManager.SendYHQBuyGoodRequest(id)
end
--[[
local cancelFunc = function()
if AppConst.isSDKLogin and rechargeConfig.Price > 0 then
PayManager.SdkPay({ Id = id, orderId = orderId })
@ -103,12 +106,13 @@ function this.Pay(id, func)
end)
end
end
]]
local args = {}
args[1] = Language[12032]
args[2] = Language[12033]
args[3] = Language[12031]
args[3] = Language[10685]
args[4] = sureFunc
args[5] = cancelFunc
args[5] = nil
UIManager.OpenPanel(UIName.GMCommonConfirmPanel, args)
return
end