From 3e896c7ddb83106919b590d5a9eda19f8332dfd2 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 22 十一月 2025 14:09:55 +0800
Subject: [PATCH] 0312 红点整理切换账号问题

---
 Main/System/Recharge/RechargeManager.cs |   38 ++++++++++++++++++--------------------
 1 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/Main/System/Recharge/RechargeManager.cs b/Main/System/Recharge/RechargeManager.cs
index 860d6f1..477765d 100644
--- a/Main/System/Recharge/RechargeManager.cs
+++ b/Main/System/Recharge/RechargeManager.cs
@@ -310,8 +310,6 @@
     private DateTime beforeCTGTime = DateTime.Now;
     private Redpoint rechargeRedpoint = new Redpoint(21);
     public Redpoint firstRechargeRedpoint = new Redpoint(210000);//棣栧厖棰嗗彇绾㈢偣
-    public Redpoint rechargeFuncRedpoint = new Redpoint(21, 2101);
-    public Redpoint rechargeGiftRedpoint = new Redpoint(2101, 210101);//18鍏冪ぜ鍖�
 
     public bool TryGetOrderInfo(int _id, out OrderInfoConfig config)
     {
@@ -702,24 +700,24 @@
 
     private void UpdateRedpoint()
     {
-        if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Recharge))
-        {
-            return;
-        }
-        if (FirstGoldServerDay <= 0 || !IsFirstChargeRewardGetByDay(1))
-        {
-            return;
-        }
-        var list = GetCTGConfigs(VersionConfig.Get().appId);
-        var config = CTGConfig.Get(list[0]);
-        if (m_RechargeCountDict.ContainsKey(config.RecordID))
-        {
-            if (config.DailyBuyCount > 0 &&
-                config.DailyBuyCount <= m_RechargeCountDict[config.RecordID].todayCount)
-            {
-                return;
-            }
-        }
+        // if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Recharge))
+        // {
+        //     return;
+        // }
+        // if (FirstGoldServerDay <= 0 || !IsFirstChargeRewardGetByDay(1))
+        // {
+        //     return;
+        // }
+        // var list = GetCTGConfigs(VersionConfig.Get().appId);
+        // var config = CTGConfig.Get(list[0]);
+        // if (m_RechargeCountDict.ContainsKey(config.RecordID))
+        // {
+        //     if (config.DailyBuyCount > 0 &&
+        //         config.DailyBuyCount <= m_RechargeCountDict[config.RecordID].todayCount)
+        //     {
+        //         return;
+        //     }
+        // }
     }
 
 

--
Gitblit v1.8.0