--[[ 充值返利功能 yuanli 1、GMS后台配置改功能是否开启 2、在测试期间充值了 ]] local RechargeReturn_Controller = {} local private = {} --是否开放公测充值返利 function RechargeReturn_Controller.IsShowRechargeReturn() if not MDL.Unlock.IsUnlock(MDL.Unlock.FunctionType.RechargeReturn) then return false end if MDL.RechargeReturn.GetRechargeCount()<=0 then return false end if MDL.RechargeReturn.HasGetReward() then return false end return true end --充值返利红点 function RechargeReturn_Controller.IsHasRechargeReturnRedpoint() if not MDL.Unlock.IsUnlock(MDL.Unlock.FunctionType.RechargeReturn) then return false end return MDL.RechargeReturn.GetRechargeCount()>0 and not MDL.RechargeReturn.HasGetReward() end --是否开放内测充值返利 function RechargeReturn_Controller.IsShowRechargeReturnTest() if not MDL.Unlock.IsUnlock(MDL.Unlock.FunctionType.RechargeReturnTest) then return false end return true end --内测充值返利红点 function RechargeReturn_Controller.IsHasRechargeReturnRedpointTest() return false end return RechargeReturn_Controller