| | |
| | |
|
| | | #region 配置
|
| | | private static string[] lineSplit = new string[] { "</r>" };
|
| | | private int m_CTGDelayTime = 1; // 充值的公共间隔,见配置ChargeDelayTime
|
| | | private int m_CTGLimitDelayTime = 1; // 限购商品的充值间隔,见配置ChargeDelayTime
|
| | | private int m_CTGDelayTime = 0; // 充值的公共间隔,见配置ChargeDelayTime
|
| | | private int m_CTGLimitDelayTime = 0; // 限购商品的充值间隔,见配置ChargeDelayTime
|
| | |
|
| | | //多倍图片
|
| | | public Dictionary<int, string> MultiRechageImageDict = new Dictionary<int, string>();
|
| | |
| | | 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)
|
| | | {
|
| | |
| | |
|
| | | 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;
|
| | | // }
|
| | | // }
|
| | | }
|
| | |
|
| | |
|