取消重复下单的判断,收不到支付回调时会导致该礼包无法再次购买,正式服已修复

gaoxin 2020-09-24 16:29:51 +08:00
parent e0caaf8ade
commit 7958c3cf44
1 changed files with 5 additions and 5 deletions

View File

@ -34,11 +34,11 @@ function this.Pay(id, func)
if not func then
func = function()end
end
if this.EventTrigger[id] then
LogError("重复发起购买商品的请求商品id = "..id..", uid = "..PlayerManager.uid)
PopupTipPanel.ShowTip("您有一个相同的订单正在处理,请稍后再试")
return
end
-- if this.EventTrigger[id] then
-- LogError("重复发起购买商品的请求商品id = "..id..", uid = "..PlayerManager.uid)
-- PopupTipPanel.ShowTip("您有一个相同的订单正在处理,请稍后再试")
-- return
-- end
this.EventTrigger[id] = func
LogError("发起购买商品的请求商品id = "..id)
--直购商品