// // GET: /Weixin/ public ActionResult Index() { //string hha = Request.Url.ToString();// Request["wesin"]; if (CommonMethod.WeixinCheck.CheckSignature()) { Response.Write(Request.QueryString["echostr"]); Response.End(); } if (Request.HttpMethod.ToLower() == "post") { MessageStream stream = new MessageStream(); stream.ReadStreamAndReply(HttpContext.Request); } @ViewBag.WesinTitle = "Wesin"; return(View("Weixin")); }