【每日特惠】优化
parent
b868d5ff2f
commit
0bc10a78c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue