代金券弹窗提示修改
parent
6a8cc22103
commit
1632820d89
|
@ -65,7 +65,7 @@ function this.Pay(id, func)
|
||||||
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
|
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
|
||||||
|
|
||||||
local yhqNum=BagManager.GetItemCountById(108)
|
local yhqNum=BagManager.GetItemCountById(108)
|
||||||
if yhqNum>=rechargeConfig.Price then
|
if yhqNum>=rechargeConfig.Price and rechargeConfig.Price>0 then
|
||||||
local sureFunc=function()
|
local sureFunc=function()
|
||||||
NetManager.SendYHQBuyGoodRequest(id)
|
NetManager.SendYHQBuyGoodRequest(id)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue