869
社区成员
发帖
与我相关
我的任务
分享
//获取当前用户的OpenId,如果可以通过系统获取用户Openid就不用调用该函数
this.GetUserOpenId();
this.lblOpenId.Text = this.UserOpenId;
LogUtil.WriteLog("Send 页面 pdf:" + Request.QueryString["pdf"].ToString());
string pdf = "";
string id = "";
string qx = "";
string pid = "";
if (Request.QueryString["pdf"] != null)
pdf = Request.QueryString["pdf"].ToString();
if (Request.QueryString["id"] != null)
id = Request.QueryString["id"].ToString();
if (Request.QueryString["qx"] != null)
qx = Request.QueryString["qx"].ToString();
if (Request.QueryString["pid"] != null)
pid = Request.QueryString["pid"].ToString();
//this.GetUserOpenId();
//this.lblOpenId.Text = this.UserOpenId;
Response.Write(pdf + id + qx + pid + "aa");
Response.End();
//设置支付数据
PayModel model = new PayModel();
model.OrderSN = this.txtOrderSN.Text;
model.TotalFee = int.Parse(this.txtPrice.Text);
model.Body = pdf;// this.txtBody.Text;
model.Attach = this.txtOther.Text; //不能有中文
model.OpenId = "";// Request.QueryString["openid"].ToString();// "o2lm6uMVUTvmeyMzhBRvAFE465V8";// this.lblOpenId.Text;
model.pdf = pdf;
model.id = id;
model.qx = qx;
model.pid = pid;
//string pdf = Request.QueryString["pdf"].ToString();
//跳转到 WeiPay.aspx 页面,请设置函数中WeiPay.aspx的页面地址
this.Response.Redirect(model.ToString());