Esempio n. 1
0
        public void BCUserInfoQueryTest()
        {
            BeeCloud.registerApp("beacfdf5-badd-4a11-9b23-9ef3801732d1", "0fa599d9-b0ae-41b3-85de-d3153809004d", "e14ae2db-608c-4f8b-b863-c8c18953eef2", "4bfdd244-574d-4bf3-b034-0c751ed34fee");
            List <string> users = new List <string>();

            try
            {
                users = BCPay.BCUserInfoQuery("*****@*****.**", new DateTime(2017, 6, 2), new DateTime(2017, 6, 2, 23, 59, 59));
                Console.WriteLine(users.Count);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            Assert.IsTrue(users.Count > 0);
        }