【每日特惠】优化

dev_chengFeng
张彪 2022-02-10 18:22:48 +08:00
parent b868d5ff2f
commit 0bc10a78c8
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ local EveryDayGiftNew = {}
local rechargeNum = 0
local growData = {}
local rechargeCommodityConfig = ConfigManager.GetConfig(ConfigName.RechargeCommodityConfig)
local onKeyPackId = 1004
local onKeyPackId = 545
function EveryDayGiftNew:New(gameObject)
local b = {}
b.gameObject = gameObject
@ -457,7 +457,7 @@ function EveryDayGiftNew:RefreshOneKeyShow()
end
-- 计算现价
local now = 0
now = now + MoneyUtil.GetMoney(ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,1004).Price)
now = now + MoneyUtil.GetMoney(ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,onKeyPackId).Price)
self.extarOneKeyprice2.text = Language[10582] .. string.format(MoneyUtil.GetMoneyUnitName(),ori)
self.extarOneKeyprice1.text = Language[10644] .. string.format(MoneyUtil.GetMoneyUnitName(),now)