protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { //TransType = Shove._Web.Utility.GetRequest("cmd"); //TransMessage = Shove._Web.Utility.GetRequest("msg"); //WriteElectronTicketLog(false, TransType, "transType=" + TransType + "&transMessage=" + TransMessage); //string SunLottoServerAddr = ConfigurationManager.AppSettings["SunServerAddr"]; //if (!GetClientIPAddress().Contains(SunLottoServerAddr)) //{ // new Log("ElectronTicket\\SunLotto").Write("电子票异常客户端 IP 请求。" + GetClientIPAddress()); // this.Response.End(); // return; //} //if ((TransType != "") && (TransMessage != "")) //{ // if (ValidateMessage(TransType, TransMessage)) // { // Receive(TransType, TransMessage); // } //} TransType = Shove._Web.Utility.GetRequest("cmd"); var notifyWrapper = new SLS.Notify.NotifyWrapper(false) { ApiRequestWrap = new SLS.Notify.ApiRequest() { AgentId = SLS.Common.WebUtils.GetAppSettingValue("SunAgentID"), AgentPwd = SLS.Common.WebUtils.GetAppSettingValue("xicaigufen"), ApiUrl = SLS.Common.WebUtils.GetAppSettingValue("SunPostAddr"), TransType = TransType } }; notifyWrapper.Current.Recieve(); ReturnResponse(); } }