MxWeiXinPF.Web/api/payment/wxpay/warning.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using System.Xml.Linq;
namespace MxWeiXinPF.Web.api.payment.wxpay
{
/// <summary>
/// 微支付警告页面
/// </summary>
public partial class warning : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
JinGao();
}
private void JinGao()
{
try
{
}
catch (Exception ex)
{
}
finally
{
Response.Write("success");
Response.End();
}
string AppId = "";
//1001,
string ErrorType = "";
//发货超时
string Description = "";
//transaction_id=订单号
string AlarmContent = "";
string TimeStamp = "";
string AppSignature = "";
string SignMethod = "";
using (XmlReader xr = XmlReader.Create(Request.InputStream))
{
XDocument RequestDocument = XDocument.Load(xr);
AppId = RequestDocument.Root.Element("AppId").Value;
ErrorType = RequestDocument.Root.Element("ErrorType").Value;
Description = RequestDocument.Root.Element("Description").Value;
AlarmContent = RequestDocument.Root.Element("AlarmContent").Value;
TimeStamp = RequestDocument.Root.Element("AppSignature").Value;
AppSignature = RequestDocument.Root.Element("AppSignature").Value;
后面还有 17 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
