传输数据需要变成json之后放到content中进行[加密处理](加密方式.md)变成字符串发送
~~~[api]
post:/api/pay/order
*string:appid=商户号#商户号
*string:content=传输数据#传输数据
~~~
以下为content内字段
~~~[api]
post:/api/pay/order
*string:appid=商户号#商户号
string:ordersn=商户订单编号#商户订单编号(与支付系统订单编号2选1)
string:paysn=支付系统订单编号#支付系统订单编号(与支付系统订单编号2选1)
<<<
success
{
"status": 1, //状态,为1是创建订单成功
"url": "xxxx", //支付地址,跳转即可
"return_url": "xxxx" //支付后返回的地址
}
<<<
error
~~~