【月卡】累冲金额调整

dev_chengFeng
zhangqiang 2021-04-26 12:11:02 +08:00
parent bbbf5598d6
commit 26e63d7c9e
1 changed files with 7 additions and 3 deletions

View File

@ -633,13 +633,17 @@ function this.UpdateMonthCardData(msg)
end end
end end
function this.RefreshMonthCardChargeMoney(msg) function this.RefreshMonthCardChargeMoney(msg)
--LogError("月卡金额信息推送 "..msg.monthSaveAmt.." "..msg.smonthSaveAmt) -- LogError("月卡金额信息推送 "..msg.monthSaveAmt.." "..msg.smonthSaveAmt)
monthSaveAmt = msg.monthSaveAmt--月卡累计总额 monthSaveAmt = msg.monthSaveAmt--月卡累计总额
smonthSaveAmt = msg.smonthSaveAmt--豪华月卡累计总额 smonthSaveAmt = msg.smonthSaveAmt--豪华月卡累计总额
end end
-- 月卡累计总额 -- 月卡累计总额
function this.GetmonthSaveAmt() function this.GetmonthSaveAmt(index)
return monthSaveAmt if index == MONTH_CARD_TYPE.MONTHCARD then
return monthSaveAmt
else
return smonthSaveAmt
end
end end
-- 豪华月卡累计总额 -- 豪华月卡累计总额
function this.GetsmonthSaveAmt() function this.GetsmonthSaveAmt()