From bcd479c5deddb2a798ea126579ed111ce76e4a21 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 09 十月 2019 23:57:38 +0800
Subject: [PATCH] 0312 月卡和vip投资移到福利界面

---
 System/Vip/VipInvest/MonthWeekInvestModel.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/System/Vip/VipInvest/MonthWeekInvestModel.cs b/System/Vip/VipInvest/MonthWeekInvestModel.cs
index f752f72..379709b 100644
--- a/System/Vip/VipInvest/MonthWeekInvestModel.cs
+++ b/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();
 

--
Gitblit v1.8.0