From 0a3ceab5f2b07c4e593d854bb926780e03de4eea Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 08 十一月 2018 19:55:01 +0800
Subject: [PATCH] 4629 子 【开发】【1.2.0】7天登录弹窗 / 【前端】【1.2.0】7天登录弹窗

---
 System/OpenServerActivity/InSevenDayBehavior.cs  |    4 ++--
 System/MainInterfacePanel/InGamePushContainer.cs |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/System/MainInterfacePanel/InGamePushContainer.cs b/System/MainInterfacePanel/InGamePushContainer.cs
index e3fd300..f536494 100644
--- a/System/MainInterfacePanel/InGamePushContainer.cs
+++ b/System/MainInterfacePanel/InGamePushContainer.cs
@@ -363,6 +363,7 @@
             if (inSevenDayModel.IsMainGo)
             {
                 m_InSevenDayBehavior.gameObject.SetActive(true);
+                m_InSevenDayBehavior.GetintDay();
             }
             else
             {
diff --git a/System/OpenServerActivity/InSevenDayBehavior.cs b/System/OpenServerActivity/InSevenDayBehavior.cs
index 1351ed5..3eade5c 100644
--- a/System/OpenServerActivity/InSevenDayBehavior.cs
+++ b/System/OpenServerActivity/InSevenDayBehavior.cs
@@ -25,7 +25,7 @@
         }
         private void OnEnable()
         {
-            GetintDay();
+           // GetintDay();
         }
         private void CloseButton()
         {
@@ -38,7 +38,7 @@
             inSevenDayModel.IsMainGo = false;
         }
 
-        private void GetintDay()
+        public void GetintDay()
         {
             int inDay = 0;
             foreach (var key in inSevenDayModel.RewardForDic.Keys)

--
Gitblit v1.8.0