代金券弹窗提示修改

dev_fengTi_And
PC-202302260912\Administrator 2023-07-12 18:59:49 +08:00
parent 6a8cc22103
commit 1632820d89
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ function this.Pay(id, func)
local rechargeConfig = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig, id)
local yhqNum=BagManager.GetItemCountById(108)
if yhqNum>=rechargeConfig.Price then
if yhqNum>=rechargeConfig.Price and rechargeConfig.Price>0 then
local sureFunc=function()
NetManager.SendYHQBuyGoodRequest(id)
end