OpenId//get the current user, if you can get the user through the system OpenId you don't have to call the function
Enclosing GetUserOpenId ();
This. LblOpenId. Text=this. UserOpenId;
LogUtil. WriteLog (" Send PDF page: "+ Request. The QueryString [r]." PDF "ToString ());
String PDF="";
String id="";
String qx="";
String pid="";
If (Request. The QueryString [" PDF "]!=null)
PDF=Request. The QueryString [r]. "PDF" ToString ();
If (Request. The QueryString (" id ")!=null)
Id=Request. The QueryString (" id "). The ToString ();
If (Request. The QueryString [" qx "]!=null)
Qx=Request. The QueryString [r]. "qx" ToString ();
If (Request. The QueryString (" pid ")!=null)
Pid=Request. The QueryString [r]. "pid" ToString ();
//this. GetUserOpenId ();
//this. LblOpenId. Text=this. UserOpenId;
Response. Write (PDF + id + qx + pid + "aa");
The Response. The End ();
//set payment data
PayModel model=new PayModel ();
Model. OrderSN=this. TxtOrderSN. Text;
Model. TotalFee=int. Parse (this) txtPrice) Text);
Model. The Body=PDF;//this. TxtBody. Text;
Model. The Attach=this. TxtOther. Text;//can't have any Chinese
Model. The OpenId="";//Request. The QueryString [r]. "the openid" ToString ();//"o2lm6uMVUTvmeyMzhBRvAFE465V8";//this. LblOpenId. Text;
PDF=PDF model.
Model. The id=id;
Model. The qx=qx;
Model. The pid=pid;
//string PDF=Request. The QueryString [r]. "PDF" ToString ();
//jump to WeiPay. Aspx page, please set the function WeiPay. Aspx page address
This. The Response. Redirect (model. The ToString ());
CodePudding user response:
Pass is actually page problem, parameter is not lost, problem is solved,CodePudding user response:
Such payment is no problem, but to participate in, when acquiring the openid to refresh the page, the parameter is missing, how to solve