少年修仙传客户端代码仓库
hch
2019-10-09 bcd479c5deddb2a798ea126579ed111ce76e4a21
System/Vip/VipInvest/MonthWeekInvestModel.cs
@@ -55,8 +55,8 @@
        public event Action onSelectUpdate;
        public event Action onInvestUpdate;
        public readonly Redpoint redpoint = new Redpoint(209, 20922);
        public readonly Redpoint redpoint = new Redpoint(201, 20103);
        public readonly Redpoint redpoint2 = new Redpoint(201, 20104);
        VipModel vipModel { get { return ModelCenter.Instance.GetModel<VipModel>(); } }
        public override void Init()
@@ -96,7 +96,10 @@
            {
                var type = int.Parse(typeKey);
                m_InvestRechargeIds[type] = new List<int>(LitJson.JsonMapper.ToObject<int[]>(json[typeKey].ToJson()));
                m_Redpoints.Add(type, new Redpoint(redpoint.id, redpoint.id * 100 + type));
                if (type == 8)
                    m_Redpoints.Add(type, new Redpoint(redpoint.id, redpoint.id * 100 + type));
                else if (type == 7)
                    m_Redpoints.Add(type, new Redpoint(redpoint2.id, redpoint2.id * 100 + type));
            }
            investTypes = m_InvestRechargeIds.Keys.ToList();