-
Notifications
You must be signed in to change notification settings - Fork 158
门户_支付接口
孙为国 edited this page Jan 4, 2019
·
1 revision
[MENU]
####1.支付
/order/pay.do
http://localhost:8080/order/pay.do?orderNo=1485158676346
request
orderNo
response
success
{
"status": 0,
"data": {
"orderNo": "1485158676346",
"qrPath": "http://img.happymmall.com/qr-1492329044075.png"
}
}
fail
{
"status": 1,
"msg": "支付宝生成订单失败"
}
####2.查询订单支付状态
/order/query_order_pay_status.do
http://localhost:8080/order/query_order_pay_status.do?orderNo=1485158676346
request
orderNo
response
success
{
"status": 0,
"data": true
}
fail
{
"status": 1,
"msg": "该用户并没有该订单,查询无效"
}
####3.支付宝回调
/order/alipay_callback.do
request
HttpServletRequest
response
success
success
fail
failed
####0.模板
/REPLACE/.do
request
k
response
success
k
fail
k