lcy
7 天以前 f4d2e99c6041c0d0c933472dcbbeab3cbf4028ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;
using UnityEngine.UI;
using System.Linq;
using LitJson;
using System;
 
public partial class RechargeManager : GameSystemManager<RechargeManager>
{
    public int selectTabIndex = 2;  //0 代金券 1 元宝 2 现金礼券(默认)
 
    public List<int> GetCTGIDListByType(int type)
    {
        var list = new List<int>();
        foreach (var config in CTGConfig.GetValues())
        {
            if (config.PayType == type)
            {
                list.Add(config.RecordID);
            }
        }
        return list;
    }
}