Skip to content

门户_支付接口

heylinlook edited this page May 14, 2018 · 1 revision

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": "该用户并没有该订单,查询无效"
}

3.支付宝回调

参考支付宝回调文档: https://support.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.mFogPC&treeId=193&articleId=103296&docType=1

/order/alipay_callback.do

request

HttpServletRequest

response

success

success

fail

failed
Clone this wiki locally