/// <summary>
    /// 获取平台交易总账数据
    /// </summary>
    /// <returns></returns>
    public List <string[]> getData(List <string> listdate)
    {
        List <string[]> list     = new List <string[]>();
        List <string[]> response = new List <string[]>();

        foreach (var date in listdate)
        {
            list = GetDBdata.getPtData(date);
            if (list.Count != 0)
            {
                string   s1 = list[1][0].ToString().Split(' ')[0].Replace("/", "-");
                string[] ss = s1.Split('-');
                if (ss[1].Length == 1)
                {
                    ss[1] = "0" + ss[1];
                }
                if (ss[2].Length == 1)
                {
                    ss[2] = "0" + ss[2];
                }
                s1 = ss[0] + "-" + ss[1] + "-" + ss[2];
                string s2 = (Convert.ToDouble(list[(list.Count - 1)][1]) - Convert.ToDouble(list[(list.Count - 1)][2])).ToString();
                string s3 = list[(list.Count - 1)][0].ToString();

                string[] str = { s1, s2, s3 };
                response.Add(str);
            }
        }
        return(response);
    }
    /// <summary>
    /// 获取平台交易明细账数据
    /// </summary>async Task<List<string[]>>
    /// <returns></returns>
    public static List <string[]> getDataList(List <string> listdate)
    {
        List <string[]> list     = new List <string[]>();
        List <string[]> response = new List <string[]>();

        foreach (var date in listdate)
        {
            list = GetDBdata.getPtData(date);
            if (list.Count != 0)
            {
                list.RemoveAt(0);
                list.RemoveAt((list.Count - 3));
                list.RemoveAt((list.Count - 2));
                list.RemoveAt((list.Count - 1));

                foreach (var str in list)
                {
                    response.Add(str);
                }
            }
        }
        return(response);
    }