12345678910111213141516171819202122232425262728293031 |
- using LYFZ.Weixin.SDK;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- namespace LYFZ.WeixinServers.WeiXinAPP
- {
- public partial class Test : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
-
- /* string timestamp = DateTime.Now.ToString("yyyyMMddhhmmss");// yyyyMMddhhmmss
- string nonce = LYFZ.WinAPI.CustomPublicMethod.GetSpecifyLengthRandomString();
- string signature = BasicAPI.GetSignature(timestamp, nonce, "lyfz.net");
- string url = "http://wx.lyfz.net/WeiXinAPP/PostInfo.aspx?signature=" + signature + "×tamp=" + timestamp + "&nonce=" + nonce;
- string JMGDomainName = "20151008452260.lyfz.com";
- string ShellDomainName = "lijiafz.vicp.net";
- string IPAddress = LYFZ.WinAPI.CustomPublicMethod.GetNetIP("http://wx.lyfz.net/WeiXinAPP/NetIPInterface.aspx");
- int PortNumber =8082;
- int UseType = 1;
- string CompanyName = System.Web.HttpUtility.UrlEncode("利亚方舟研发部测试帐号");
- string postData = "JMGDomainName=" + JMGDomainName + "&ShellDomainName=" + ShellDomainName + "&IPAddress=" + IPAddress + "&PortNumber=" + PortNumber + "&UseType=" + UseType + "&CompanyName=" + CompanyName;
- string retMsg= LYFZ.WinAPI.CustomPublicMethod.HttpWebRequestPOST(url, postData);*/
- }
- }
- }
|