修复取消支付后无法再次发起支付的问题,同时取消了对网络延迟的处理
parent
2ee3e8f2c5
commit
4f4efeeea4
|
@ -173,7 +173,6 @@ end
|
|||
|
||||
function Network:ReceiveErrorInfo(buffer)
|
||||
|
||||
LogError("Network ReceiveErrorInfo errCode:"..msg.errCode)
|
||||
local data = buffer:DataByte()
|
||||
local msg = CommonProto_pb.ErrorResponse()
|
||||
msg:ParseFromString(data)
|
||||
|
@ -187,7 +186,8 @@ function Network:ReceiveErrorInfo(buffer)
|
|||
RequestPanel.Hide()
|
||||
-- 登录过程中报错
|
||||
LoadingPanel.ErrorStep(msg)
|
||||
|
||||
--
|
||||
LogError("Network ReceiveErrorInfo errCode:"..msg.errCode)
|
||||
--Log("msg.errCode:" .. msg.errCode)
|
||||
--Log("msg.errMsg:" .. msg.errMsg)
|
||||
--for i=1,#msg.errParams do
|
||||
|
|
|
@ -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)
|
||||
--直购商品
|
||||
|
|
Loading…
Reference in New Issue