财务接收B2C订单

来源:互联网 发布:乐敦cc使用方法知乎 编辑:程序博客网 时间:2024/04/29 12:03

                 if (Request.InputStream.Length != 0)
                {
                    byte[] data= new byte[Request.InputStream.Length];
                    Request.InputStream.Read(data, 0, (int)Request.InputStream.Length);
                    string orderInfo = System.Text.Encoding.Unicode.GetString(data);

                    Fdays.Kernel.Utility.AppendLog(orderInfo);
                    orderInfo = Server.HtmlDecode(orderInfo);
                    Fdays.Kernel.Utility.AppendLog(orderInfo);
                    XmlDocument xmlDoc = new XmlDocument();
                    xmlDoc.LoadXml(orderInfo);
                }

原创粉丝点击