Exemplo n.º 1
0
        /// <summary>
        /// 14.	会员积分
        /// </summary>
        /// <returns></returns>
        public string GenerateTodo05()
        {
            //-------------------
            //JObject jo = (JObject)JsonConvert.DeserializeObject(token);
            string jsondata = "{\"DateTime\": \"" + DateTime.Now.ToString("yyyyMMddHHmmss") + "\",\"KEY\": \"" + Key2() + "\",	\"DB\": \"bwshopsy_01\",\"Parm\": \""+ Base64Helper.Base64Encode(NAME) + "\"}";

            string url = "http://192.168.4.106:5555/bwshop/GetVipIntegral";
            string res = HttpResponse.GetResponseData(jsondata, url);

            return(res);

            //MD5Encrypt
        }
Exemplo n.º 2
0
 private void button5_Click_1(object sender, EventArgs e)
 {
     textBox6.Text = Base64Helper.Base64Encode(textBox2.Text);
 }
Exemplo n.º 3
0
        /// <summary>
        /// 2.	会员信息
        /// </summary>
        /// <returns></returns>
        public static string GenerateTodo04()
        {
            // TextBox textBox = new TextBox();
            Txml key = new Txml();
            //-------------------
            //JObject jo = (JObject)JsonConvert.DeserializeObject(token);
            string jsondata = "{\"DateTime\": \"" + DateTime.Now.ToString("yyyyMMddHHmmss") + "\",\"KEY\": \"" + key.Key() + "\",\"DB\": \"bwshopsy_01\",\"Parm\": \"" + Base64Helper.Base64Encode(NAME) + "\",\"JsonData\": true}";
            string url      = "http://192.168.4.106:5555/bwshop/GetVipInfo";
            string res      = HttpResponse.GetResponseData(jsondata, url);

            return(res);
        }
Exemplo n.º 4
0
        /// <summary>
        /// 15.	会员余额
        /// </summary>
        /// <returns></returns>
        public string GenerateTodo06()
        {
            Txml key = new Txml();
            //-------------------
            //JObject jo = (JObject)JsonConvert.DeserializeObject(token);
            string jsondata = "{\"DateTime\": \"" + DateTime.Now.ToString("yyyyMMddHHmmss") + "\",\"KEY\": \"" + key.Key() + "\",\"DB\": \"bwshopsy_01\",\"Parm\": \"" + Base64Helper.Base64Encode(NAME) + "\"}";

            string url = "http://192.168.4.106:5555/bwshop/GetVipSpareCash";
            string res = PostUrl(url, jsondata);

            return(Tjson(res));
        }