SK_LongZhu
parent
5f2e5d1ccd
commit
4e0709d7c3
|
|
@ -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 and rechargeConfig.Price>0 then
|
||||
if rechargeConfig.OtherBuy and #rechargeConfig.OtherBuy > 0 and rechargeConfig.OtherBuy[1][2] <= yhqNum then
|
||||
local sureFunc=function()
|
||||
NetManager.SendYHQBuyGoodRequest(id)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue